You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 3.0.0rc1.post706+ge02f2c5dc
matplotlib
Fork me on GitHub

matplotlib.axis.YAxis.set_units

YAxis.set_units(u)

Set the units for axis.

Parameters:
u : units tag