Skills for Real Engineers. Straight from my .agents directory.
matplotlib
Agent skill fromzLanqing/codex-claude-academic-skills
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 to install matplotlib
npx skills add zLanqing/codex-claude-academic-skills# or add only this skill to Claude Code: copy the folder
scientific-toolkit-skill/references/scientific-skills/matplotlib/
# into
~/.claude/skills/matplotlib/ (all projects)
.claude/skills/matplotlib/ (one project)
1# Matplotlib23## Overview45Matplotlib 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.67## When to Use This Skill89This skill should be used when:10- Creating any type of plot or chart (line, scatter, bar, histogram, heatmap, contour, etc.)11- Generating scientific or statistical visualizations12- Customizing plot appearance (colors, styles, labels, legends)13- Creating multi-panel figures with subplots14- Exporting visualizations to various formats (PNG, PDF, SVG, etc.)15- Building interactive plots or animations16- Working with 3D visualizations17- Integrating plots into Jupyter notebooks or GUI applications1819## Core Concepts2021### The Matplotlib Hierarchy2223Matplotlib uses a hierarchical structure of objects:24251. **Figure** - The top-level container for all plot elements262. **Axes** - The actual plotting area where data is displayed (one Figure can contain multiple Axes)273. **Artist** - Everything visible on the figure (lines, text, ticks, etc.)284. **Axis** - The number line objects (x-axis, y-axis) that handle ticks and labels2930### Two Interfaces3132**1. pyplot Interface (Implicit, MATLAB-style)**33```python34import matplotlib.pyplot as plt3536plt.plot([1, 2, 3, 4])37plt.ylabel('some numbers')38plt.show()39```40…
Excerpt shown under the repository's MIT license.
More skills in codex-claude-academic-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
