Matplotlib vs Streamlit
A data-driven comparison of two data visualization tools: popularity, development activity, licensing and installation. Updated .
2D plotting library.
Framework for turning Python scripts into interactive data apps.
Key differences
- Streamlit has 2× as many GitHub stars as Matplotlib (46.4K vs 23.5K).
- Streamlit had more development activity over the last 12 months: 2,690 commits vs 2,136.
- Matplotlib is downloaded 9.2× as often on PyPI (48.9M vs 5.3M per week).
- Matplotlib is licensed under PSF-2.0; Streamlit under Apache-2.0.
- Matplotlib is the older project: its repository was created in 2011, Streamlit's in 2019.
By the numbers
- Matplotlib
- Streamlit
Show data as a table
| Metric | Matplotlib | Streamlit |
|---|---|---|
| GitHub stars | 23,473 | 46,416 |
| PyPI downloads / week | 48,905,733 | 5,334,428 |
| Commits, last 12 months | 2,136 | 2,690 |
| Contributors | 439 | 320 |
| Forks | 8,552 | 4,454 |
Development activity
Commits per month to each default branch, last 12 complete months.
- Matplotlib
- Streamlit
Show data as a table
| Month | Matplotlib | Streamlit |
|---|---|---|
| Nov 2025 | 72 | 146 |
| Dec 2025 | 97 | 187 |
| Jan 2026 | 153 | 181 |
| Feb 2026 | 144 | 208 |
| Mar 2026 | 244 | 231 |
| Apr 2026 | 197 | 156 |
| May 2026 | 257 | 189 |
| Jun 2026 | 260 | 206 |
| Jul 2026 | 202 | 264 |
| Aug 2026 | 142 | 246 |
| Sep 2026 | 179 | 274 |
| Oct 2026 | 189 | 402 |
Side by side
| Attribute | Matplotlib | Streamlit |
|---|---|---|
| Description | 2D plotting library. | Framework for turning Python scripts into interactive data apps. |
| Category | Python plotting libraries | Python dashboard & data app frameworks |
| License | PSF-2.0 | Apache-2.0 |
| Language | Python | Python |
| Status | Active | Active |
| Latest release | v3.11.2 () | 1.67.0 () |
| Last commit | ||
| Repository created | ||
| Open issues | 1,049 | 1,007 |
| Install | pip install matplotlib | pip install streamlit |
Which should you choose?
Popularity and activity are only part of the story. Consider which ecosystem you work in, the chart types and interactions you need, how much data you render, and whether the license fits your project. Both tool pages list alternatives if neither is quite right.
-
Matplotlib
2D plotting library.
-
Streamlit
Framework for turning Python scripts into interactive data apps.