Version 3.1.2
matplotlib

matplotlib.axis.YAxis.get_units

YAxis.get_units()

Return the units for axis.