New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Foundational Python plotting library covering line, scatter, bar, heatmap, 3D, and publication-ready export.

skills.sh installs
1.1K
GitHub stars
34.1K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the Figure and Axes hierarchy, with both the pyplot and object-oriented interfaces and when to use each
  • Includes plot recipes for line, scatter, bar, histogram, heatmap, contour, box, violin, and 3D surface charts
  • Guides multi-panel layouts via plt.subplots, subplot_mosaic, and GridSpec, plus styling through rcParams and style sheets
  • Designed for scientific visualization and publication figures that need PNG, PDF, or SVG export at controlled DPI

Install

$ npx -y skills add davila7/claude-code-templates --skill matplotlib -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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:

Details

Repository
github.com/davila7/claude-code-templates
Categories
Data Science & Analytics, Python
First seen
Apr 16, 2026

More from davila7/claude-code-templates

All 398

Similar to Matplotlib

More Data Science & Analytics