Plot delhi scaled up by 1000, then format the y ticks with thousands separators

Matplotlib · from Ticks and labels

ax.set_xticksMultipleLocatorStrMethodFormatterDateFormatterax.tick_paramsax.margins

Putting the kettle on…

Starting up…

Exercise 3

Plot delhi scaled up by 1000, then format the y ticks with thousands separators. Draw the figure with fig.canvas.draw() and return the rendered label texts.

your answer
stuck? the lesson behind it
Ticks and labels
Locators say where, formatters say what — almost every tick problem is one of the two