Matplotlib: Multiple Y-Axis Scales
Matplotlib's flexibility allows you to show a second scale on the y-axis. This example allows us to show monthly data with the corresponding annual total at those monthly rates.
The Matplotlib Axes.twinx
method creates a new y-axis that shares the same x-axis. First we create an axis for the …