Agent skill

matplotlib

Low-level plotting library for full customization. Use when you need fine-grained control over every plot element, creating novel plot types, or integrating with specific scientific workflows. Export to PNG/PDF/SVG for publication. For quick statistical plots use seaborn; for interactive plots use plotly; for publication-ready multi-panel figures with journal styling, use scientific-visualization.

K-Dense-AIgithub.com/K-Dense-AIGitHub ↗
claude-codecan modify filesships scriptsMIT
Install
npx skills add K-Dense-AI/scientific-agent-skills --skill matplotlib --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 7
SKILL.md size: 12 KB
Bundled scripts: yes
Version: 1.1
Allowed tools: ReadWriteBash
Requires: Requires Python 3.10+ and Matplotlib 3.10.x. Use `uv add matplotlib` in projects; interactive Jupyter widgets require…
Path: skills/matplotlib/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 32,619
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Matplotlib ## Overview Matplotlib is Python's foundational visualization library for creating static, animated, and interactive plots. This skill provides guidance on using matplotlib effectively, covering both the pyplot interface (MATLAB-style) and the object-oriented API (Figure/Axes), along with best practices for creating publication-quality visualizations. ## When to Use This Skill This skill should be used when: - Creating any type of plot or chart (line, scatter, bar, histogram, heatmap, contour, etc.) - Generating scientific or statistical visualizations - Customizing plot appearance (colors, styles, labels, legends) - Creating multi-panel figures with subplots - Exporting visualizations to various formats (PNG, PDF, SVG, etc.) - Building interactive plots or animations - Working with 3D visualizations - Integrating plots into Jupyter notebooks or GUI applications ## Setup For project work, install Matplotlib with uv: ```bash uv add matplotlib ``` For notebook interactivity: ```bash uv add matplotlib ipympl ``` Then enable the widget backend in Jupyter with `%matplotlib widget` or `%matplotlib ipympl`. Matplotlib 3.10 requires Python 3.10+ and NumPy 1.23+. Non-interactiv

What's inside
Steps it walks through
  1. Overview
  2. When to Use This Skill
  3. Setup
  4. Core Concepts
  5. The Matplotlib Hierarchy
  6. Two Interfaces
  7. Common Workflows
  8. 1. Basic Plot Creation
  9. 2. Multiple Subplots
  10. 3. Plot Types and Use Cases
  11. 4. Styling and Customization
  12. 5. Saving Figures
  13. 6. Working with 3D Plots
  14. Best Practices
Ships with 6 files
  • references/api_reference.md
  • references/common_issues.md
  • references/plot_types.md
  • references/styling_guide.md
  • scripts/plot_template.py
  • scripts/style_configurator.py
Commands it runs
uv add matplotlib
uv add matplotlib ipympl
uv run python scripts/plot_template.py
uv run python scripts/style_configurator.py
More from scientific-agent-skills
All skills →
About this skill
What does the matplotlib skill do?

Low-level plotting library for full customization. Use when you need fine-grained control over every plot element, creating novel plot types, or integrating with specific scientific workflows. Export to PNG/PDF/SVG for publication. For quick statistical plots use seaborn; for interactive plots use plotly; for publication-ready multi-panel figures with journal styling, use scientific-visualization.

How do I install it?

Run `npx skills add K-Dense-AI/scientific-agent-skills --skill matplotlib --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From K-Dense-AI/scientific-agent-skills, a repository with 32,619 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going