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.

Try Matplotlib (on Binder)

News

November 15, 2021
Matplotlib 3.5.0 Released

Highlights include shared axes in subplot_mosaic, post-colormaping resampling, and support for GTK4 and Qt6.

See the release notes and API changes for details.

Resources

Be sure to check the Users guide and the API docs. The full text search is a good way to discover the docs including the many examples.

Join our community at discourse.matplotlib.org to get help, share your work, and discuss contributing & development.

Short questions may be posted on the gitter channel.

Check out the Matplotlib tag on stackoverflow.

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 Tools

Support Matplotlib