Plotting with matplotlib

Matplotlib is verbose but total. Learn the figure and axes model once and every other plotting library makes more sense.

Lesson 3.130m 51sBeginner21.7k students

Chapters

30:51
  1. 0:00What is Matplotlib?
  2. 1:50Setup/Install
  3. 3:58Imports
  4. 5:03Matplotlib Architecture
  5. 8:31Basic Line Plot
  6. 10:17Customizing Styles
  7. 12:57Scatter Plot
  8. 15:36Bar Chart
  9. 19:32Histograms
  10. 20:49Subplots
  11. 22:10Working with Pandas
  12. 23:51Advanced Customization
  13. 26:40Plot Styles
  14. 27:18Pie Charts
  15. 28:21Saving Plots
  16. 29:00Cheat Sheet

What this lesson covers

  • Work with the figure and axes objects
  • Plot lines, bars, and scatter charts
  • Label axes and export at the right resolution

This lesson sits in Visualising Data, part of Python for Data Work. It assumes what came before it and leads directly into the next lesson in the module.

In this lesson you will

  • Work with the figure and axes objects
  • Plot lines, bars, and scatter charts
  • Label axes and export at the right resolution

Resources