matplotlib.axis.XTick.convert_yunits

XTick.convert_yunits(y)

转换 y 使用yaxis的单位类型。

如果艺术家不包含在一个轴中,或者如果亚轴没有单位, y 返回自身。