I am writing a GUI for scanning probe microscopy.
I am displaying the images in the ImageItems inside GraphicsLayoutWidget, which also has a PlotItem.
To match the axes of the PlotItem to the images I have to scale them, and it works fine, until I need to
change the scale for a new image.
It seems that a consecutive scale command is like applying the scale with the squared X and Y values.
So, I probably have to restore the scale somehow to the original value, but I cannot read out scale. What are my options?