Comparison
altair vs bokeh 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 20 of the last 26 weeks. A safe choice.
pip install altairInteractive plots and applications in the browser from Python
Actively maintained. Last release today, commits in 24 of the last 26 weeks. A safe choice.
pip install bokehPython 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 14 of the last 26 weeks. A safe choice.
pip install xyIn short
- matplotlib is the most used: 205.2M downloads a month, 4.9× more than altair.
- Maintenance is comparable: matplotlib 94, bokeh 90, xy 89, altair 85 on Pythie’s Index.
- xy is growing fastest: downloads +118% over the last month.
- xy is the newcomer: first released Jul 2026.
- Safe default for a new project: matplotlib.
Side by side
| Metric | altair | bokeh | matplotlib | xy |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 85 | 90 |