Skip to content
LearnPY
Matplotlib

Matplotlib

Build plots from the ground up, control axes and labels, compose multi-panel figures, and make styling choices that clarify the data instead of decorating it.

What you'll practice

  • Figures
  • Axes
  • Layouts
  • Styling
  • Subplots

Lessons

5 lessons, in order

  1. 01Understand figures and axesBuild a chart with the object-oriented API, then label the figure so another person can read it without guessing.
  2. 02Compare series with lines and barsUse line charts for ordered change, bars for categorical totals, and labels plus a legend to tell the series apart.
  3. 03See relationships and distributionsUse scatter plots to inspect two-variable relationships and histograms to understand the shape of one variable.
  4. 04Lay out multiple chartsCompose a figure from several axes, share scales where comparison needs them, and use layout engines to keep labels from colliding.
  5. 05Style and annotate the messageChoose color with purpose, remove visual noise, annotate the important point, and keep the chart readable without color.