Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

Matplotlib

Python library for creating static, animated and interactive plots and visualizations.

Charts and data visualisation PyPI

Used in agent projects
194
1.5% of 12,697 public repos built with AI coding agents
Rank in charts and data visualisation
#2 of 16
by use in those projects
Downloads
39.3M
PyPI, last 7 days, matplotlib
GitHub stars
23.3K
last push Oct 10, 2026

How Matplotlib is used

Matplotlib is a dependency in 194 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (1.5%), #2 of 16 in charts and data visualisation. The most used alternative there is Recharts. Projects that use it most often also use NumPy (67.0%), pandas (65.5%), Pillow (45.9%).

Often used with Matplotlib

NumPy67.0% of Matplotlib projects · 17.5× more than average
pandas65.5% of Matplotlib projects · 21.7× more than average
Pillow45.9% of Matplotlib projects · 19.9× more than average
Requests41.8% of Matplotlib projects · 7.9× more than average
python-dotenv40.2% of Matplotlib projects · 6.2× more than average
scikit-learn38.7% of Matplotlib projects · 30.7× more than average
SciPy35.1% of Matplotlib projects · 31.6× more than average
Pydantic34.5% of Matplotlib projects · 6.8× more than average

By coding agent

GitHub Copilot3.0% of projects set up for it
Claude Code2.0% of projects set up for it
Cursor2.4% of projects set up for it
OpenAI Codex2.4% of projects set up for it
Gemini CLI2.3% of projects set up for it
Devin Desktop3.6% of projects set up for it
OpenCode1.6% of projects set up for it

Share of public repos configured for each agent that list Matplotlib as a dependency.

Install

Packagepip install matplotlib
Main stacksPython (190), Next.js (4)
Example projectsnmweaver/soltrade, daydreamlive/DEMON, jacwu/github-materials, towardsai/agentic-ai-engineering-course, leionion/solana-bot-bump

Alternatives to Matplotlib

All charts and data visualisation

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Recharts npm
Composable React component library for building responsive charts.
1,037 (8.2%) 56.3M 27.6K MIT
Chart.js npm
Simple HTML5 canvas-based charting library for creating interactive data visualizations.
165 (1.3%) 12.7M 67.7K MIT
React Chart.js 2 npm
React components wrapper for Chart.js enabling data visualization with charts.
111 (0.9%) 4.4M 6,937 MIT
Plotly pypi
Interactive data visualization library for Python with rich chart and dashboard support.
74 (0.6%) 12.5M 18.8K —
Seaborn pypi
Statistical data visualization library built on matplotlib with rich plot types.
66 (0.5%) 6.8M 14.1K —
Mermaid npm
Markdown-like syntax for creating flowcharts, diagrams, and visualizations programmatically.
65 (0.5%) 17.7M 90.6K MIT
D3.js npm
JavaScript library for creating data-driven documents with powerful data visualization capabilities.
63 (0.5%) 22.2M 114K ISC
XY Flow npm
Customizable React library for building interactive node-based editors and flow charts.
62 (0.5%) 13.4M 38.6K MIT
Is Matplotlib right for your project? Ask AgentGid →