matplotlib.artist.Artist.convert_xunits #

艺术家。convert_xunits ( x ) [来源] #

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

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