matplotlib.axis.Tick.convert_xunits

Tick.convert_xunits(x)

转换 x 使用xaxis的单位类型。

如果艺术家不包含在轴中,或者如果X轴没有单位, x 返回自身。