This is a 21-page course for the Swiftener Matplotlib editor. Open this tab, wait until matplotlib is ready, then paste each exercise, press Ctrl+Enter (or Cmd+Enter), and call plt.show().
Goal
Finish every chapter by running the copy-paste blocks in the workbench. The last chapter is a small kiosk story you can reuse.
How to take the course
- Keep this tutorial tab and the Matplotlib editor side by side.
- Copy an exercise, paste it as the whole editor, then run it.
- Every block ends with
plt.show().
City names in the examples are Nairobi, Mombasa, Kisumu, Nakuru, and Eldoret.
Sample files
kiosk.csvrain.csv