matplotlib.artist.Artist.convert_xunits
- Artist.convert_xunits(x)[исходный код]
-
Преобразует x с использованием типа единиц оси x.
Если объект Artist не содержится в Axes или ось x не имеет единиц измерения, возвращается само значение x.
© 2012–2026 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