Make a 1×2 grid that shares its y axis, plot delhi on the left only, and return…

Matplotlib · from Subplot grids

plt.subplotsaxes.flatshareysqueezefig.delaxessmall multiples

Putting the kettle on…

Starting up…

Exercise 3

Make a 1×2 grid that shares its y axis, plot delhi on the left only, and return whether both panels ended up with the same limits: axes[0].get_ylim() == axes[1].get_ylim().

your answer
stuck? the lesson behind it
Subplot grids
Small multiples, and the array shape that breaks your loop