Plot delhi, then add a second y scale with twinx() and plot mumbai on it

Matplotlib · from Scales and limits

ax.set_xlimax.set_yscalesymlogax.twinxax.marginssharex

Putting the kettle on…

Starting up…

Exercise 3

Plot delhi, then add a second y scale with twinx() and plot mumbai on it. Return len(fig.axes) — the point is that a twin is another Axes.

your answer
stuck? the lesson behind it
Scales and limits
Log axes, zero baselines, and why twin axes can prove anything