Version 3.0.3
matplotlib
Fork me on GitHub

matplotlib.axis.XTick.convert_yunits

XTick.convert_yunits(y)

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