Comparison
altair vs ggplot vs matplotlib vs xy
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 matplotlibExperimental Python charting engine with a native Rust core, binary columnar transport, and a GPU render client
Actively maintained. Last release 4 weeks ago, commits in 16 of the last 26 weeks. A safe choice.
pip install xyIn 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, xy 89, altair 85 on Pythie’s Index.
- xy is growing fastest: downloads +87% over the last month.
- xy is the newcomer: first released Jul 2026.
- Safe default for a new project: matplotlib.
Side by side
| Metric | altair | ggplot | matplotlib | xy |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 85 | Pythie’s Index: 3 | Pythie’s Index: 94 | Pythie’s Index: 89 |
| Verdict | Actively maintained | Archived | Actively maintained | Actively maintained |
| Downloads / month | 42.4M | 72.7K | 206.6M | 148.5K |
| Downloads, month over month | +0% | -3% | +14% | +87% |
| GitHub stars | 10.5K | 3.7K | 23.5K | 1.9K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 416 | 5 | 42K | 2 |
| Last release | Sep 15, 2026 | Sep 29, 2016 | Sep 11, 2026 | Nov 5, 2026 |
| Releases, 12 months | 19 | 0 | 7 | 12 |
| Weeks with commits | 19 / 26 | 0 / 26 | 26 / 26 | 16 / 26 |
| Recent contributors | 26 | 12 | 26 | 14 |
| First release | Jul 2016 | Oct 2013 | Jan 2006 | Jul 2026 |
| Python versions | 3.11 – 3.14 | 3.3 | 3.11 – 3.14 | – |
| License | BSD-3-Clause | non-standard | non-standard | Apache-2.0 |
| 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.