get_data_aspect

PlasmaCalcs.plotting.plot_tools.lims.get_data_aspect(ax=None)

returns the aspect ratio of the data,

i.e. the ratio of the data interval lengths along y and x axes.
ax: None or matplotlib axis object
the Axes to get the aspect ratio from. None –> ax=plt.gca().