Is there an easy and reliable way to determine the current aspect ratio of an axes when its aspect is set to \'auto\'?
axes
\'auto\'
The obvious thing to
How about
import numpy as np aspect = sum(np.abs(ax.get_xlim())) / sum(np.abs(ax.get_ylim()))