matplotlib.artist.Artist.convert_xunits
- Artist.convert_xunits(x)[source]
-
Преобразовать x с использованием типа единиц x-оси.
Если графический элемент не содержится в оси Axes или у x-оси нет единиц, возвращается само x.
© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/matplotlib.artist.Artist.convert_xunits.html