Plot delhi and add a horizontal reference line at its mean
Matplotlib · from Lines
ax.plotlinestylemarkerax.fill_betweenax.axhlineax.stackplotPutting the kettle on…
Starting up…
Exercise 3
Plot delhi and add a horizontal reference line at its mean. Return the y value that line sits at, read back with float(ax.lines[-1].get_ydata()[0]).
your answer
stuck? the lesson behind it
Lines
What the segment between two points is actually claiming