Skip to content

Plotting with Matplotlib

Introduction

By the end of this chapter you will be able to:

  • Import Matplotlib into a Python script or Jupyter notebook

  • Construct line plots with Matplotlib

  • Add axis labels, titles and legends to plots created with Matplotlib

  • Construct bar charts and pie charts with Matplotlib

  • Build histograms with Matplotlib

  • Create scatter plots with Matplotlib