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.

Screenshot of the Matplotlib demo

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

PyPI
pip install matplotlib
v3.11.2

Development activity

Commits per month to the default branch over the last 12 complete months.

0100200300 Nov 2025 Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep Oct
0100200300 Nov 2025 Feb 2026 May Aug
2,136 commits from Nov 2025 to Oct 2026.
Show data as a table
Matplotlib commits per month
MonthCommits
Nov 202572
Dec 202597
Jan 2026153
Feb 2026144
Mar 2026244
Apr 2026197
May 2026257
Jun 2026260
Jul 2026202
Aug 2026142
Sep 2026179
Oct 2026189

Popularity among Python plotting libraries

GitHub stars for Matplotlib and the most-starred alternatives.
Show data as a table
GitHub stars
ToolStars
Matplotlib23,473
Seaborn14,117
pygal2,772
Veusz1,062
Toyplot451

Alternatives to Matplotlib

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?

Yes. Matplotlib is released under the PSF-2.0 license, and its source code is on GitHub.

Is Matplotlib still maintained?

Yes. Matplotlib is actively developed, with 2,136 commits in the last 12 months and the latest commit today.

How do I install Matplotlib?

From PyPI: pip install matplotlib.

What are the best alternatives to Matplotlib?

The most popular alternatives listed in Python plotting libraries are Seaborn, pygal, and Veusz. See the full ranking.

What language is Matplotlib written in?

Matplotlib is primarily written in Python, according to GitHub.

Data: GitHub API, PyPI. Updated Nov 18, 2026.