Keep labels when zooming in

Hello everyone,

I have a chart with some go.Scatter object with the labels at the end.

Here an example of the code:

fig.add_trace(go.Scatter(x=x_values, y=y_values,
                                     text=['', 'V{}'.format(eo1[0])],
                                     textposition='top right')

And the result is something like this, with the text at the of the line:

When I zoom, for example, in the middle of the line, the labels stay out of the zoomed area and are not visible anymore:

Is it possible to keep them visible in this kind of situation?

I read something about xref= paper in the annotation section of the docs but it’s a bit different in my case since it’s not properly an annotation.

Thank you in advance