Plot both cities with label= set to "Delhi" and "Mumbai", add a legend, and ret…

Matplotlib · from Your first plot

plt.subplotsax.plotax.set_xlabelax.set_titleax.legendax.grid

Putting the kettle on…

Starting up…

Exercise 3

Plot both cities with label= set to "Delhi" and "Mumbai", add a legend, and return the list of texts the legend ended up showing.

your answer
stuck? the lesson behind it
Your first plot
Six lines, and five of them are about being readable