Comparison
bokeh vs matplotlib vs plotly vs pygal
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Interactive 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 matplotlibAn open-source interactive data visualization library for Python
Actively maintained. Last release 6 days ago, commits in 25 of the last 26 weeks. A safe choice.
$
pip install plotlyA Python svg graph plotting library
Actively maintained. Last release 5 months ago. A safe choice.
$
pip install pygalIn short
- matplotlib is the most used: 206.6M downloads a month, 3.3× more than plotly.
- Maintenance is comparable: matplotlib 94, bokeh 90, plotly 86, pygal 72 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 | bokeh | matplotlib | plotly | pygal |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 90 | Pythie’s Index: 94 | Pythie’s Index: 86 | Pythie’s Index: 72 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 6M | 206.6M | 62.4M | 500.4K |
| Downloads, month over month | -6% | +14% | +8% | +10% |
| GitHub stars | 20.5K | 23.5K | 18.9K | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 846 | 42K | 5.2K | 50 |
| Last release | Nov 19, 2026 | Sep 11, 2026 | Nov 24, 2026 | Jun 18, 2026 |
| Releases, 12 months | 38 | 7 | 11 | 4 |
| Weeks with commits | 23 / 26 | 26 / 26 | 25 / 26 | – |
| Recent contributors | 25 | 26 | 8 | – |
| First release | Oct 2013 | Jan 2006 | Jun 2013 | Feb 2012 |
| Python versions | 3.12 – 3.14 | 3.11 – 3.14 | 3.10 – 3.14 | – |
| License | BSD-3-Clause | non-standard | MIT | LGPL-3.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.