matplotlib.axes.Axes.get_adjustable

Axes.get_adjustable()

Return whether the Axes will adjust its physical dimension ('box') or its data limits ('datalim') to achieve the desired aspect ratio.

See also

matplotlib.axes.Axes.set_adjustable
Set how the Axes adjusts to achieve the required aspect ratio.
matplotlib.axes.Axes.set_aspect
For a description of aspect handling.

Examples using matplotlib.axes.Axes.get_adjustable