The creation of a secondary axis is documented to accept a tuple of functions to create the transform between the two axes. When created, it passes a numpy array to the declared functions, which may ...
Often it is desirable to have a second x or y scale on an axes with a different scale than the primary x/y axis; think frequency and period on the xaxis of a power spectrum, or date and datenum for a ...