Today I was trying to figure out how to plot two time series with differently scaled values. I found two_scales.py example in the matplotlib examples which describes how to do it.
Here’s a slightly simplified version of the code, and afterward a detailed explanation of what’s going on. Continue reading ‘Create a second y-axis in matplotlib’