D2PythonIntermediateAbout 120 min to complete
Advanced Matplotlib
A reusable house style and layouts that fit the story rather than a grid.
Notebook
About 120 minutes to complete
Enrol to read the notebook and download it to run.
What this module covers
A reusable house style and layouts that fit the story rather than a grid.
By the end of it
- Build asymmetric layouts with GridSpec and subplot_mosaic
- Configure global defaults with rcParams and style sheets
- Package a house style as a reusable function and context manager
- Create custom colormaps and normalisations
- Add inset axes, broken axes, and secondary scales
- Use the transform system to place elements in data, axes, or figure coordinates
- Use twin axes responsibly, where they are genuinely defensible
- Assemble a publication-quality composite figure