matplotlib.axis.XAxis.set_units

XAxis.set_units(u)

设置轴的单位。

参数:
u单位标记

使用实例 matplotlib.axis.XAxis.set_units