Comparison
ggplot vs lets-plot vs matplotlib vs plotnine
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
ggplot for python
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install ggplotAn open source library for statistical plotting
Maintained. Last release 5 months ago, commits in 5 of the last 26 weeks. Weaker on commit activity and security practices.
$
pip install lets-plotPython 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
- ggplot is archived: avoid it for new projects.
- matplotlib is the most used: 206.6M downloads a month, 128× more than plotnine.
- Maintenance is comparable: matplotlib 94, plotnine 85, lets-plot 69 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 | ggplot | lets-plot | matplotlib | plotnine |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 3 | 69 |