matplotlib.axes.Axes.get_box_aspect#

Axes.get_box_aspect()[source]#

Return the Axes box aspect, i.e. the ratio of height to width.

The box aspect isNone (i.e. chosen depending on the availablefigure space) unless explicitly specified.

See also

matplotlib.axes.Axes.set_box_aspect

for a description of box aspect.

matplotlib.axes.Axes.set_aspect

for a description of aspect handling.