Version 3.0.2
matplotlib
Fork me on GitHub

matplotlib.axis.YTick.convert_yunits

YTick.convert_yunits(y)

For artists in an axes, if the yaxis has units support, convert y using yaxis unit type