twiny

support.graphics.twiny(ax=None)

Make a second axes overlay ax (or the current axes if ax is None) sharing the xaxis. The ticks for ax2 will be placed on the right, and the ax2 instance is returned. See examples/two_scales.py