get_aspect#

named_arrays.plt.get_aspect(ax=None)#

A thin wrapper around matplotlib.axes.Axes.get_aspect() for named arrays.

Parameters:

ax (None | matplotlib.axes.Axes | na.AbstractScalar) – The matplotlib axes instance(s) to get the aspect ratio from.

Return type:

str | na.AbstractScalar