Axes.
apply_aspect
(position=None)¶Adjust the Axes so that it fulfills its aspect setting.
Depending on get_adjustable
and get_anchor
this will either
modify the Axes box or the view limits.
See also
matplotlib.axes.Axes.set_aspect
matplotlib.axes.Axes.set_adjustable
matplotlib.axes.Axes.set_anchor
Notes
This is automatically called on draw. So you won’t need to call this yourself in most cases. One exception may be if you need to update the Axes before drawing.