The Matplotlib 3.1.0 documentation shows sample code for creating a secondary axis.
"This secondary axis can have a different scale than the main axis by providi