matplotlib.artist.Artist.convert_yunits

Artist.convert_yunits(y)[源代码]

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

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