Rewrite this in the object API, then return the title you set:plt.plot(days, de…

Matplotlib · from plt versus ax

plt.plotplt.subplotsplt.gcaax.set_titleax.set_xlabelplt.sca

Putting the kettle on…

Starting up…

Exercise 2

Rewrite this in the object API, then return the title you set:
plt.plot(days, delhi) / plt.title("Delhi")
Return ax.get_title().

your answer
stuck? the lesson behind it
plt versus ax
Why half the examples online look nothing like the other half