Matplotlib vs Plotly
In 1,621 Python projects set up for AI coding agents, Matplotlib is a dependency in 167 (10.3%) and Plotly in 56 (3.5%): Matplotlib is 3.0× as common. 23 projects list both, often a sign of a migration or of a monorepo with several apps.
Charts and data visualisation PyPI Updated Nov 17, 2026
| Matplotlib | 10.3% | |
|---|---|---|
| Plotly | 3.5% |
Share of 1,621 Python projects set up for AI coding agents that list each one as a dependency.
Side by side
| Matplotlib | Plotly | |
|---|---|---|
| Agent projects that use it | 167 | 56 |
| Rank in charts and data visualisation | #2 | #7 |
| In new repos with a charts and data visualisation tool (last 90 days) | — | — |
| In older repos with one | 76.9% | 25.0% |
| Downloads, last 7 days | 47.9M | 13.9M |
| GitHub stars | 23.5K | 18.9K |
| Last push to its repo | Nov 15, 2026 | Nov 16, 2026 |
| License | PSF-2.0 | MIT |
| Funding | Yes | — |
| Projects that list both | 23 | |
Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from PyPI.
By coding agent
| Projects set up for | Python repos | Matplotlib | Plotly |
|---|---|---|---|
| Claude Code | 782 | 9.2% | 3.7% |
| GitHub Copilot | 805 | 11.3% | 4.0% |
| Cursor | 548 | 10.4% | 2.7% |
| Gemini CLI | 83 | 13.3% | 0% |
| OpenAI Codex | 78 | 15.4% | 6.4% |
| OpenClaw | 104 | 13.5% | 0% |
| Devin Desktop | 60 | 18.3% | 0% |
Share of the Python repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.
Matplotlib
Python library for creating static, animated and interactive plots and visualizations.
Most often used with it:
| NumPy | 65.3% of its projects |
|---|---|
| pandas | 61.1% of its projects |
| Pillow | 42.5% of its projects |
| scikit-learn | 41.3% of its projects |
| python-dotenv | 35.3% of its projects |
pip install matplotlib
Plotly
Interactive data visualization library for Python with rich chart and dashboard support.
Most often used with it:
| pandas | 87.5% of its projects |
|---|---|
| NumPy | 78.6% of its projects |
| python-dotenv | 62.5% of its projects |
| Requests | 53.6% of its projects |
| scikit-learn | 51.8% of its projects |
pip install plotly
More matchups
How we count
Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.