Comparison
altair vs bokeh 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 altairInteractive plots and applications in the browser from Python
Actively maintained. Last release 11 days ago, commits in 23 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 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
- matplotlib is the most used: 206.6M downloads a month, 4.9× more than altair.
- Maintenance is comparable: matplotlib 94, bokeh 90, 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 | bokeh | matplotlib | plotnine |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 85 | 90 |