Version 2.2.2
matplotlib

matplotlib.axis.Axis.get_units

Axis.get_units()

return the units for axis