matplotlib.axes.Axes.set_box_aspect
- Axes.set_box_aspect(aspect=None)
Set the Axes box aspect, i.e. the ratio of height to width.
This defines the aspect of the Axes in figure space and is not to be confused with the data aspect (see
set_aspect).- Parameters:
- aspect : float or None