Data & ReproScientific Visualization & CommunicationK-Dense-AI/claude-scientific-skillsData & Reproduction
MA

Matplotlib

Maintainer K-Dense Inc. · Last updated March 31, 2026

Matplotlib is Python's foundational visuali.

Claude CodeOpenClawNanoClawAnalysisWritingmatplotlibdocument-processingpackagedata analysis & visualization

Original source

K-Dense-AI/claude-scientific-skills

https://github.com/K-Dense-AI/claude-scientific-skills/tree/main/scientific-skills/matplotlib

Maintainer
K-Dense Inc.
License
https://github.com/matplotlib/matplotlib/tree/main/LICENSE
Last updated
March 31, 2026

Skill Snapshot

Key Details From SKILL.md

2 min

Key Notes

  • 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.
  • fig, ax = plt.subplots(figsize=(10, 6)).

Source Doc

Excerpt From SKILL.md

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

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)

  • Convenient for quick, simple plots
  • Maintains state automatically
  • Good for interactive work and simple scripts

2. Object-Oriented Interface (Explicit)

  • Recommended for most use cases
  • More explicit control over figure and axes
  • Better for complex figures with multiple subplots
  • Easier to maintain and debug

Use cases

  • Creating any type of plot or chart (line, scatter, bar, histogram, heatmap, contour, etc.).
  • Generating scientific or statistical visuali.

Not for

  • Do not rely on this catalog entry alone for installation or maintenance details.

Related skills

Related skills

Back to directory
IN
Data & ReproScientific Visualization & Communication

infographics

Infographics are visual representations of information, data, or knowledge designed to present complex content quickly and clearly. **This s…

Claude CodeOpenClawAnalysis
K-Dense-AI/claude-scientific-skillsView
LA
Data & ReproScientific Visualization & Communication

LaTeX Posters

Research posters are a critical medium for scientific communication at conferences, symposia, and academic events. This skill provides compr…

Claude CodeOpenClawAnalysis
K-Dense-AI/claude-scientific-skillsView
MA
Data & ReproScientific Visualization & Communication

markdown-mermaid-writing

This skill teaches you — and enforces a standard for — creating scientific documentation using **markdown with embedded Mermaid diagrams as…

Claude CodeOpenClawAnalysis
K-Dense-AI/claude-scientific-skillsView
PA
Data & ReproScientific Visualization & Communication

Paper-2-Web

This skill enables the transformation of academic papers into multiple promotional and presentation formats using the Paper2All autonomous p…

Claude CodeOpenClawAnalysis
K-Dense-AI/claude-scientific-skillsView