matplotlib.axes.Axes.secondary_yaxis
-
Axes.secondary_yaxis(self, location, *, functions=None, **kwargs)[source] -
Добавить второй y-ось к этому графику.
Например, если мы хотим иметь вторую шкалу для данных, нанесенных на y-ось.
%(_secax_docstring)s
Примеры
Добавить вторичную ось, которая преобразует из радиан в градусы
(Исходный код, png, pdf)
Примеры использования matplotlib.axes.Axes.secondary_yaxis
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.axes.Axes.secondary_yaxis.html