Align annotation with edge of whole figure

I know how to align annotation respective to the plotting area. I want to place the annotation to right bottom corner of the whole figure (not just the plotting area). Absolute of relative offset does not work, since the width of the edge outside plotting area changes. Is there a way how to do it?
Thanks a ton.

import plotly.express as px
fig = px.bar(px.data.stocks(), x="date", y="AMZN")
fig = fig.update_xaxes(tickangle=90)
fig = fig.add_annotation(
    text="annotation text",
    align='left',
    showarrow=False,
    xref='paper',
    yref='paper',
    y=-0.4,
    x=1.02,
)    
fig

Example code. The y and x parameters must be now entered manually.