Description
Matplotlib is a comprehensive Python library for creating static, animated and interactive visualizations. It is the plotting library most Python data work is built on, and its documentation covers the full range of what it does, from a quick start guide to a detailed user guide, tutorials, a gallery of examples and a full API reference. You can install it with pip, conda, pixi or uv, or install a nightly build or build from source. The docs warn that the tkagg backend, which shows plots in a window, needs a recent uv and up-to-date bundled Python installs when you use uv, and they name other GUI frameworks such as PySide6 as alternatives. The reference covers figure and subplot creation with pyplot, subplot mosaics, and the plotting methods of the Figure and Axes objects. Topics in the guide include layouts, colorbars, axis scales and ticks, dates and strings, legends, colormaps, styles and rcParams configuration, text and annotations, and math text. The community section lists books, videos, tutorials and third-party packages that add styles, colors, plot types and backends. Matplotlib is maintained by a community of users and developers, and the site links the contributing guide, issue tracker and release notes. The project was created by John Hunter, a neurobiologist who wrote it to work with EEG data, and its stated goal is to make easy things easy and hard things possible.…
Highlights
- Static, animated and interactive plots in Python
- Quick start, user guide, tutorials and examples
- Full API reference for pyplot and Axes
- Install with pip, conda, pixi or uv
- Community packages for styles and backends
Ratings & Reviews
No ratings yet
Be the first to rate Matplotlib.
People also visit
Matplotlib FAQ
What is Matplotlib?
A Python library for creating static, animated and interactive visualizations.
How do I install it?
Run pip install matplotlib, or use conda install -c conda-forge matplotlib, pixi add matplotlib or uv add matplotlib.
Why does a window not show my plot with uv?
The docs say uv needs version 0.8.7 or newer and up-to-date bundled Python installs for the tkagg backend, or you can use another GUI framework such as PySide6.
Where should I start learning it?
The quick start guide and the tutorials. The user guide and the examples gallery go deeper.
Who created it?
John Hunter, a neurobiologist, who built it to work with EEG data.
What are the best Matplotlib alternatives?
Popular alternatives to Matplotlib include Seaborn, Data-Science-For-Beginners and Folium. See all Matplotlib alternatives
