Plot delhi and replace the x tick labels with the day names in upper case

Matplotlib · from Ticks and labels

ax.set_xticksMultipleLocatorStrMethodFormatterDateFormatterax.tick_paramsax.margins

Putting the kettle on…

Starting up…

Exercise 1

Plot delhi and replace the x tick labels with the day names in upper case. Return [t.get_text() for t in ax.get_xticklabels()].

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