Matplotlib
Python's classic open-source plotting library for research charts, paper figures and data visualisation.
- Main category
- Data visualisation
- Cost
- See the official site for cost
- Licence type
- Open source
- Platforms
- Windows / macOS / Linux
Version-watched: add it to favourites and confirmed new releases will show on your favourites page (stored in this browser only).
Practical notes
Typical uses
- Plotting line, scatter, bar and other figures for papers in Python.
- Generating many consistent figures from a script.
Good for
- Data already processed in Python (NumPy, pandas) and figures that should be reproducible from code.
Less suited / consider instead
- If you do not write code, consider a GUI plotting program such as Veusz.
Technical limits and cautions
- Needs a Python environment; the official getting-started page gives install commands for pip, conda, pixi and uv.
- When a journal specifies fonts, sizes or resolution, set them in code and check the exported files.
Official getting-started docs: Matplotlib getting started
Compiled from the official pages below (read 2026-11-05); not run by us. The “less suited” items are our suggestions.
Details
Matplotlib is the classic open-source plotting library in the Python ecosystem for line charts, scatter plots, bar charts, error bars, heatmaps, subplots and custom paper figures. It suits research data visualisation, paper figures and automated chart generation.
Use cases: Python plotting, paper figures, data visualisation, automated charts, research charts
Note: Default figures need some polishing; for paper figures, adjust fonts, line widths, resolution and layout.