matplotlib.artist.Artist.convert_yunits #

艺术家。convert_yunits ( y ) [来源] #

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

如果艺术家不包含在 Axes 中或者如果 yaxis 没有单位,则返回y本身。