This repository contains code to create the presentation for the "Plotting Slides in Matplotlib" lightning talk at SciPy 2024.
If you want to view the resulting PDF directly, you can find a generated copy in the release.
- Python 3.11+
- NumPy
- Matplotlib >= 3.6.0
- A git checkout of the
matplotlib
source code, to produce the timeline - The Carlito font
- The OpenMoji Black font
Optionally, you may also make available:
- The font to match the Matplotlib logo, Calibri.
qpdf
, to linearize the final PDF.
The slides can be created by running:
$ ./make.py /path/to/matplotlib/checkout
which will produce slides.pdf
directly from Matplotlib and
scipy2024-lightning-mpl-slides.pdf
as either a copy or a linearized version, depending
on whether qpdf
is installed.
Some general setup is contained in mplslide.py
, namely setting slide size,
picking the font (Calibri and Carlito), and headings and other shortcut
functions. Other styling is mostly consistent, but usually set in the
individual files.
All slides are produced in the remaining Python files.