matplotlib.pyplot.twinx
-
matplotlib.pyplot.twinx(ax=None)[source] -
Создать и вернуть вторую ось, которая разделяет x-ось. Новая ось будет накладываться на ax (или текущую ось, если ax равно None), и её деления будут справа.
Примеры
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.2.2/api/_as_gen/matplotlib.pyplot.twinx.html