set_aspect#
- named_arrays.plt.set_aspect(aspect, ax=None, **kwargs)#
A thin wrapper around
matplotlib.axes.Axes.set_aspect()for named arrays.- Parameters:
aspect (float | str | AbstractScalar) – The aspect ratio to apply to each axis
ax (None | Axes | AbstractScalar) – The matplotlib axes instance on which to apply the label.
- Return type: