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.

LeonChaoXgithub.com/LeonChaoXGitHub ↗
claude-codeships scriptsMIT
Install
npx skills add LeonChaoX/qinyan-academic-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: 11 KB
Bundled scripts: yes
Path: skills/11-数据分析与统计建模/matplotlib/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 759
Language: Python

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 ## Core Concepts ### The Matplotlib Hierarchy Matplotlib uses a hierarchical structure of objects: 1. **Figure** - The top-level container for all plot elements 2. **Axes** - The actual plotting area where data is displayed (one Figure can contain multiple Axes) 3. **Artist** - Everything visible on the figure

What's inside
Steps it walks through
  1. Overview
  2. When to Use This Skill
  3. Core Concepts
  4. The Matplotlib Hierarchy
  5. Two Interfaces
  6. Common Workflows
  7. 1. Basic Plot Creation
  8. 2. Multiple Subplots
  9. 3. Plot Types and Use Cases
  10. 4. Styling and Customization
  11. 5. Saving Figures
  12. 6. Working with 3D Plots
  13. Best Practices
  14. 1. Interface Selection
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
python scripts/plot_template.py
python scripts/style_configurator.py
More from qinyan-academic-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 LeonChaoX/qinyan-academic-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 LeonChaoX/qinyan-academic-skills, a repository with 759 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