Comparison
altair vs ggplot vs matplotlib vs plotnine
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Vega-Altair: A declarative statistical visualization library for Python.
Actively maintained. Last release 3 months ago, commits in 19 of the last 26 weeks. A safe choice.
$
pip install altairggplot for python
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install ggplotPython plotting package
Actively maintained. Last release 3 months ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install matplotlibA Grammar of Graphics for Python
Actively maintained. Last release 4 weeks ago, commits in 15 of the last 26 weeks. A safe choice.
$
pip install plotnineIn short
- ggplot is archived: avoid it for new projects.
- matplotlib is the most used: 206.6M downloads a month, 4.9× more than altair.
- Maintenance is comparable: matplotlib 94, altair 85, plotnine 85 on Pythie’s Index.
- matplotlib is growing fastest: downloads +14% over the last month.
- Safe default for a new project: matplotlib.
Side by side
| Metric | altair | ggplot | matplotlib | plotnine |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 85 | Pythie’s Index: 3 | Pythie’s Index: 94 | Pythie’s Index: 85 |
| Verdict | Actively maintained | Archived | Actively maintained | Actively maintained |
| Downloads / month | 42.4M | 72.7K | 206.6M | 1.6M |
| Downloads, month over month | +0% | -3% | +14% | -33% |
| GitHub stars | 10.5K | 3.7K | 23.5K | 4.8K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 416 | 5 | 42K | 222 |
| Last release | Sep 15, 2026 | Sep 29, 2016 | Sep 11, 2026 | Nov 3, 2026 |
| Releases, 12 months | 19 | 0 | 7 | 23 |
| Weeks with commits | 19 / 26 | 0 / 26 | 26 / 26 | 15 / 26 |
| Recent contributors | 26 | 12 | 26 | 10 |
| First release | Jul 2016 | Oct 2013 | Jan 2006 | Apr 2017 |
| Python versions | 3.11 – 3.14 | 3.3 | 3.11 – 3.14 | 3.10 – 3.13 |
| License | BSD-3-Clause | non-standard | non-standard | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.