matplotlib.axes.Axes.get_aspect#

Axes.get_aspect()[source] #

Return the aspect ratio of the Axes scaling.

This is either "auto" or a float giving the ratio of y/x-scale.

On this page