Skill · em Dados, IA e pesquisa
matplotlib
Foundational plotting library. Create line plots, scatter, bar, histograms, heatmaps, 3D, subplots, export PNG/PDF/SVG, for scientific visualization and publication figures.
Procedência
- Origem: davila7/claude-code-templates
- Caminho:
cli-tool/components/skills/scientific/matplotlib - Versão fixada:
57f899e5394bb8ca166f38eacae8f0853cbfe033 - Licença: MIT
- Espelhado em 25/09/2026
- 8 downloads no Claude Code Templates (lido em 25/09/2026)
Antes de instalar
7 arquivos · 83,9 KB · inclui 2 scripts que executam: scripts/plot_template.py, scripts/style_configurator.py
Instalar na sua CLI
O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.
Claude Code
Neste projeto: instala em .claude/skills/matplotlib/.
d=".claude/skills/matplotlib" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/scientific/matplotlib" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md" \ -o "$d/references/api_reference.md" "$u/references/api_reference.md" \ -o "$d/references/common_issues.md" "$u/references/common_issues.md" \ -o "$d/references/plot_types.md" "$u/references/plot_types.md" \ -o "$d/references/styling_guide.md" "$u/references/styling_guide.md" \ -o "$d/scripts/plot_template.py" "$u/scripts/plot_template.py" \ -o "$d/scripts/style_configurator.py" "$u/scripts/style_configurator.py" \ -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Global: instala em ~/.claude/skills/matplotlib/.
d="$HOME/.claude/skills/matplotlib" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/scientific/matplotlib" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md" \ -o "$d/references/api_reference.md" "$u/references/api_reference.md" \ -o "$d/references/common_issues.md" "$u/references/common_issues.md" \ -o "$d/references/plot_types.md" "$u/references/plot_types.md" \ -o "$d/references/styling_guide.md" "$u/references/styling_guide.md" \ -o "$d/scripts/plot_template.py" "$u/scripts/plot_template.py" \ -o "$d/scripts/style_configurator.py" "$u/scripts/style_configurator.py" \ -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Codex
Neste projeto: instala em .agents/skills/matplotlib/.
d=".agents/skills/matplotlib" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/scientific/matplotlib" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md" \ -o "$d/references/api_reference.md" "$u/references/api_reference.md" \ -o "$d/references/common_issues.md" "$u/references/common_issues.md" \ -o "$d/references/plot_types.md" "$u/references/plot_types.md" \ -o "$d/references/styling_guide.md" "$u/references/styling_guide.md" \ -o "$d/scripts/plot_template.py" "$u/scripts/plot_template.py" \ -o "$d/scripts/style_configurator.py" "$u/scripts/style_configurator.py" \ -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Global: instala em ~/.agents/skills/matplotlib/.
d="$HOME/.agents/skills/matplotlib" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/scientific/matplotlib" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md" \ -o "$d/references/api_reference.md" "$u/references/api_reference.md" \ -o "$d/references/common_issues.md" "$u/references/common_issues.md" \ -o "$d/references/plot_types.md" "$u/references/plot_types.md" \ -o "$d/references/styling_guide.md" "$u/references/styling_guide.md" \ -o "$d/scripts/plot_template.py" "$u/scripts/plot_template.py" \ -o "$d/scripts/style_configurator.py" "$u/scripts/style_configurator.py" \ -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Antigravity
Neste projeto: instala em .agents/skills/matplotlib/.
d=".agents/skills/matplotlib" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/scientific/matplotlib" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md" \ -o "$d/references/api_reference.md" "$u/references/api_reference.md" \ -o "$d/references/common_issues.md" "$u/references/common_issues.md" \ -o "$d/references/plot_types.md" "$u/references/plot_types.md" \ -o "$d/references/styling_guide.md" "$u/references/styling_guide.md" \ -o "$d/scripts/plot_template.py" "$u/scripts/plot_template.py" \ -o "$d/scripts/style_configurator.py" "$u/scripts/style_configurator.py" \ -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Global: instala em ~/.gemini/antigravity-cli/skills/matplotlib/.
d="$HOME/.gemini/antigravity-cli/skills/matplotlib" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/scientific/matplotlib" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md" \ -o "$d/references/api_reference.md" "$u/references/api_reference.md" \ -o "$d/references/common_issues.md" "$u/references/common_issues.md" \ -o "$d/references/plot_types.md" "$u/references/plot_types.md" \ -o "$d/references/styling_guide.md" "$u/references/styling_guide.md" \ -o "$d/scripts/plot_template.py" "$u/scripts/plot_template.py" \ -o "$d/scripts/style_configurator.py" "$u/scripts/style_configurator.py" \ -o "$d/LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Peça ao Rook
Já usa o Rook Labs? Cole no chat do Rook: instale a skill https://rooklabs.sh/marketplace/cct.matplotlib
Prévia do SKILL.md
---
name: matplotlib
description: "Foundational plotting library. Create line plots, scatter, bar, histograms, heatmaps, 3D, subplots, export PNG/PDF/SVG, for scientific visualization and publication figures."
---
# 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-qu…
## 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 (lines, text, ticks, etc.)
4. **Axis** - The number line objects (x-axis, y-axis) that handle ticks and labels
### Two Interfaces
**1. pyplot Interface (Implicit, MATLAB-style)**
```python
import matplotlib.pyplot as plt
…