Why do plotly annotations move when I change the scale?

Hi @marcel.svitalsky welcome to the forums.

Try changing the reference of the annotations to x1 and y1 or x and y. I’m not sure which one is the correct one right now.

More information in this post (by the looks of it at least)