The 2019 SciPy John Hunter Excellence in Plotting Contest is accepting submissions!
Apply by June 8th

Version 3.1.0
Fork me on GitHub

Table of Contents


Axes.secondary_yaxis(self, location, *, functions=None, **kwargs)[source]

Add a second y-axis to this axes.

For example if we want to have a second scale for the data plotted on the yaxis.



Add a secondary axes that converts from radians to degrees

(Source code, png, pdf)


Examples using matplotlib.axes.Axes.secondary_yaxis