Version 2.2.3
matplotlib

matplotlib.axis.Axis.set_units

Axis.set_units(u)[source]

set the units for axis

ACCEPTS: a units tag