Comparison
altair vs matplotlib vs plotnine 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 altairPython 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 plotnineExperimental 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
- matplotlib is the most used: 206.6M downloads a month, 4.9× more than altair.
- Maintenance is comparable: matplotlib 94, xy 89, altair 85, plotnine 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 | matplotlib | plotnine | xy |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 85 | 94 |