maybe there is something in the documentation that I missed, but how do I control the relative length of each axis, so that the plot is a square? I am basically looking for the equivalent of matlabs
pbaspect([1 1 1])
which I want to turn into this (ignore the additional axis labels):
I made the change by manually setting the image size, but there has to be an easier way to do it.
fig.update_yaxes(scaleanchor = "x",scaleratio = 1,)
Does not work since the axes are using different numbers. I am happy about any suggestions.