Matplotlib

The standard plotting library for Python.

💡
This course has 2 lessons. Start with the first one and use the next / previous links at the bottom of each lesson — the sidebar keeps the whole course in order.

Lessons

  1. Figures, axes and your first plotThe object model behind every Matplotlib plot, and how to avoid the state-machine habits that cause inconsistent charts.
  2. Styling, subplots and savingConsistent colours and themes, multi-panel figures that stay readable, and exporting images at the right size.

More in Python & Data Science

Python 3 NumPy pandas Jupyter Notebook Flask

Last refreshed 2026-09-17.