On this page
matplotlib.axes.Axes.twinx
- Axes.twinx()
- 
    Create a twin Axes sharing the xaxis Create a new Axes instance with an invisible x-axis and an independent y-axis positioned opposite to the original one (i.e. at right). The x-axis autoscale setting will be inherited from the original Axes. To ensure that the tick marks of both y-axes align, see LinearLocatorReturns: - 
           ax_twin : Axes
- 
           The newly created Axes instance 
 NotesFor those who are 'picking' artists while using twinx, pick events are only called for the artists in the top-most axes. 
- 
           
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
 https://matplotlib.org/2.2.3/api/_as_gen/matplotlib.axes.Axes.twinx.html