Version 3.0.2
matplotlib

matplotlib.axis.YAxis.get_units

YAxis.get_units()

return the units for axis