Matplotlib
2D plotting library.
- Active
- PSF-2.0
- Python
- Python plotting libraries
- GitHub stars
- 23.5K#21 in the directory
- PyPI downloads / week
- 48.9M
- Commits, last 12 months
- 2,136
- Contributors
- 439
- Last commit
- Latest release
- v3.11.2Sep 11, 2026
Overview
Matplotlib is an open-source Python plotting library released under the PSF-2.0 license. Its GitHub repository has 23,473 stars, 8,552 forks, and 439 contributors. It is actively developed with 2,136 commits in the last 12 months. The latest release, v3.11.2, was published on Sep 11, 2026. On PyPI it is downloaded about 48.9M times per week.
Its GitHub description: matplotlib: plotting with Python
GitHub topics: matplotlibdata-visualizationdata-sciencepythonqtwxgtkplottingtk
Try it live
This demo of Matplotlib draws the same Gapminder dataset (life expectancy, GDP per capita and population for 142 countries, 1952–2007) in the same three views as the other libraries’ demos, so you can compare them side by side; it runs on Cloudish and may take a few seconds to wake up.
Views: GDP per capita vs life expectancy by year, life expectancy over time for one country, and a world map of one metric for one year. A Flask server redraws each chart as SVG when an input changes.
The same demo in other libraries: Apache ECharts · Chart.js · Plotly.js · Shiny for R · Streamlit. See them all side by side.
Install
Development activity
Commits per month to the default branch over the last 12 complete months.
Show data as a table
| Month | Commits |
|---|---|
| Nov 2025 | 72 |
| Dec 2025 | 97 |
| Jan 2026 | 153 |
| Feb 2026 | 144 |
| Mar 2026 | 244 |
| Apr 2026 | 197 |
| May 2026 | 257 |
| Jun 2026 | 260 |
| Jul 2026 | 202 |
| Aug 2026 | 142 |
| Sep 2026 | 179 |
| Oct 2026 | 189 |
Popularity among Python plotting libraries
Show data as a table
| Tool | Stars |
|---|---|
| Matplotlib | 23,473 |
| Seaborn | 14,117 |
| pygal | 2,772 |
| Veusz | 1,062 |
| Toyplot | 451 |
Alternatives to Matplotlib
-
Seaborn
A library for making attractive and informative statistical graphics.
-
pygal
SVG charting library for Python with many chart types and interactive output.
-
Veusz
Python multiplatform GUI plotting tool and graphing library
-
Toyplot
The kid-sized plotting toolkit for Python with grownup-sized goals.
More comparisons: Matplotlib vs Seaborn · Matplotlib vs pygal · Matplotlib vs Veusz · Matplotlib vs Toyplot · ggplot2 vs Matplotlib · Matplotlib vs Streamlit · Dash vs Matplotlib · Bokeh vs Matplotlib · Matplotlib vs Taipy
Matplotlib FAQ
Is Matplotlib open source?
Is Matplotlib still maintained?
How do I install Matplotlib?
pip install matplotlib.What are the best alternatives to Matplotlib?
What language is Matplotlib written in?
Data: GitHub API, PyPI. Updated Nov 18, 2026.