Using xref="paper" with Scatter plot

When adding an annotation to the Plotly figure, we can specify its xref as paper and then use value 0-1 to set the will the annotation be relative to the figure.

annotation= {
‘text’: ‘some annotation’,
‘xref’: ‘paper’,
‘x’: 0.95,
‘yref’: ‘paper’
‘y’: 0.95
}

Is it possible to apply the same setting to the Scatter plot?
I want Scatter plot to display a single item, which I will use as a button inside the plot