Matplotlib skill for Claude

Creates and customizes scientific plots with Matplotlib. Used for fine-grained control over plot elements, novel plot types, and 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.

Matplotlib SKILL.md

A preview of the skill file from K-Dense-AI/scientific-agent-skills (https://github.com/matplotlib/matplotlib/tree/main/LICENSE).

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

Setup

For project work, install Matplotlib with uv:

uv add "matplotlib==3.11.2" numpy scipy

Read the full SKILL.md on GitHub →

How to install Matplotlib

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit K-Dense-AI/scientific-agent-skills/skills/matplotlib#main ~/.claude/skills/matplotlib

Codex

npx degit K-Dense-AI/scientific-agent-skills/skills/matplotlib#main ~/.codex/skills/matplotlib

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Matplotlib skill do?

Creates and customizes scientific plots with Matplotlib. Used for fine-grained control over plot elements, novel plot types, and 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 Matplotlib in Claude Code?

Copy the skill folder into ~/.claude/skills/matplotlib, for example with "npx degit K-Dense-AI/scientific-agent-skills/skills/matplotlib#main ~/.claude/skills/matplotlib". Claude Code loads it automatically and uses it when a task matches.

+Does Matplotlib work with ChatGPT or Codex?

Yes. Matplotlib uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/matplotlib. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Matplotlib free?

Matplotlib is published on GitHub by K-Dense-AI under the https://github.com/matplotlib/matplotlib/tree/main/LICENSE license; check the license terms before using it.

Related science & research skills

  1. Research

    Investigate a question against high-trust primary sources and capture the findings as a Markdown file in the repo.

    mattpocock/skills★ 327k
  2. Literature Review

    Conducts systematic, scoping, and narrative literature reviews using PubMed, arXiv, bioRxiv, Semantic Scholar, and other appropriate…

    K-Dense-AI/scientific-agent-skills★ 58k
  3. Market Research

    Use for market sizing (TAM, SAM, SOM both top-down and bottom-up), survey sample sizes or segment scoring.

    alirezarezvani/claude-skills★ 30k
  4. Molecular Dynamics

    Runs and analyzes molecular dynamics simulations with OpenMM and MDAnalysis.

    K-Dense-AI/scientific-agent-skills★ 58k
  5. Onekgpd

    Queries the 1000 Genomes Project dataset (3,202 whole-genome-sequenced individuals, GRCh38) at the level of individual participants.

    K-Dense-AI/scientific-agent-skills★ 58k
  6. Paper Lookup

    Searches 18 scholarly APIs for papers, preprints, citations, open-access full text, repository records, and journal OA status, and returns…

    K-Dense-AI/scientific-agent-skills★ 58k
  7. Paperclip

    Searches and reads biomedical papers, FDA/PMDA/EMA documents, clinical trials, and protein records with the GXL Paperclip CLI and Python…

    K-Dense-AI/scientific-agent-skills★ 58k
  8. Paperzilla

    Reads projects, searches project feeds, and retrieves recommendations and canonical papers in Paperzilla through the pz CLI.

    K-Dense-AI/scientific-agent-skills★ 58k
  9. Phylogenetics

    Builds and analyzes phylogenetic trees using MAFFT multiple sequence alignment, IQ-TREE maximum likelihood with ModelFinder and branch…

    K-Dense-AI/scientific-agent-skills★ 58k

See all science & research skills →

More skills from K-Dense-AI

  1. Medchem

    Applies medicinal chemistry filters for compound triage, using drug-likeness rules (Lipinski, Veber, CNS), structural alert catalogs…

    K-Dense-AI/scientific-agent-skills★ 58k
  2. Modal

    Modal is a serverless cloud platform for running Python on demand, including on-demand GPUs.

    K-Dense-AI/scientific-agent-skills★ 58k

All skills by K-Dense-AI →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.