This chapter introduces Matplotlib, a powerful graphical library for scientific and data plotting. We will cover the following recipes:
- Creating two-dimensional plots of functions and data
- Generating multiple plots in a single figure
- Setting line styles and markers
- Using different backends to display graphs
- Saving plots to disk
- Annotating graphs
- Generating histograms and box plots
- Creating three-dimensional plots
- Generating interactive displays in the Jupyter Notebook
- Object-oriented graph creation using Artist objects
- Creating a map with cartopy