Matplotlib: Visualization with Python
Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python. Matplotlib makes easy things easy and hard things possible.
- Createpublication quality plots.
- Makeinteractive figures that can zoom, pan, update.
- Customizevisual style andlayout.
- Export tomany file formats.
- Embed inJupyterLab and Graphical User Interfaces.
- Use a rich array ofthird-party packages built on Matplotlib.
News#
Dec 13, 2024
Matplotlib 3.10.0 ReleasedWe thank the 128 authors for the 337 pull requests that comprise the 3.10.0 release.
May 30, 2024
GSOC 2024: Bivariate ColormapsA warm welcome to Trygve Magnus Ræder, who is working on bivariate colormapping.
May 16, 2024
Matplotlib 3.9.0 ReleasedWe thank the 175 authors for the 450 pull requests that comprise the 3.9.0 release.
Resources#
Be sure to check theUsers guide and theAPI docs. The full textsearch is a good way to discover the docs including the many examples.
Join our community atdiscourse.matplotlib.org to get help, share your work, and discuss contributing & development.
Check out the Matplotlib tag onStackOverflow.
Meet us at our monthly call for new contributors to the Matplotlib project. Subscribe to ourcommunity calendar at Scientific Python to get access to all our community meetings.
Short questions related to contributing to Matplotlib may be posted on thegitter channel.
Domain Specific Tools#
A large number of third party packages extend and build on Matplotlib functionality, including several higher-level plotting interfaces (seaborn, HoloViews, ggplot, ...), and a projection and mapping toolkit (Cartopy).
More Domain-Specific Toolsseaborn
seaborn is a high level interface for drawing statistical graphics with Matplotlib. It aims to make visualization a central part of exploring and understanding complex datasets.
statistical data visualizationCartopy
Cartopy is a Python package designed for geospatial data processing in order to produce maps and other geospatial data analyses.
CartopyDNA Features Viewer
DNA Features Viewer is a Python library to visualize DNA features, e.g. from GenBank or Gff files, or Biopython SeqRecords.
DNA Features Viewerplotnine
plotnine is an implementation of a grammar of graphics in Python. The grammar allows users to compose plots by explicitly mapping data to the visual objects that make up the plot.
plotnineSupport Matplotlib#
Contribute
Matplotlib is a community project maintained for and by its users
You can help by answering questionson discourse, reporting a bug or requesting a featureon GitHub, or improving thedocumentation and code!
Join us on DiscourseJoin us on GitHubCite
Matplotlib is the result of development efforts by John Hunter (1968–2012) and the project'smany contributors.
If Matplotlib contributes to a project that leads to a scientific publication, please acknowledge this work by citing the project!
Ready made citationDonate
If you would like to support Matplotlib financially you can donate by sponsoring Matplotlib on GitHub or making a (USA) tax-deductible donation through NumFOCUS.
Sponsor on GitHubDonate to Matplotlib