Skip to content

Low-level Python plotting library for full control over every element, novel plot types, and PNG/PDF/SVG export.

CCM score
67 of 100
skills.sh installs
2.5K
GitHub stars
58.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers pyplot and object-oriented interfaces, Figure/Axes layout, and common plot types from line and scatter to heatmap, contour, and box plots
  • Includes references/plot_types.md and references/styling_guide.md, with examples for subplot layouts, colormaps, rcParams, and annotations
  • Targets Matplotlib 3.11.2 on Python 3.11+ and flags 3.11 API changes such as tick_labels for box plots and mpl.colormaps[name]
  • Designed for scientific workflows that need fine-grained customization, with seaborn, plotly, or scientific-visualization suggested for quick, interactive, or journal-styled figures

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --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

Setup

For project work, install Matplotlib with uv:

uv add "matplotlib==3.11.2" numpy scipy

For notebook interactivity:

uv add "matplotlib==3.11.2" ipympl

Then enable the widget backend in Jupyter with %matplotlib widget or %matplotlib ipympl.

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
Data Science & Analytics, Python
First seen
Jun 3, 2026

Questions

What is the matplotlib skill used for?

The matplotlib skill helps an agent create and customize scientific plots with Matplotlib, giving fine-grained control over every plot element. It covers novel plot types and export to PNG, PDF or SVG for publication. For quick statistical plots, the matplotlib skill points to seaborn, and for interactive plots to plotly.

How do I install the matplotlib skill?

Run npx -y skills add k-dense-ai/scientific-agent-skills --skill matplotlib -y in a project to install the matplotlib skill. Once installed, the matplotlib skill lets the agent write plotting code that targets Matplotlib 3.11.2 on Python 3.11 or later.

What does the matplotlib skill need to run?

The matplotlib skill requires Python 3.11 or later and Matplotlib 3.11.2. Its bundled examples also use NumPy and SciPy, and pandas examples need pandas. Local plotting needs no credentials, and the matplotlib skill needs network access only for installation.

Where does the matplotlib skill rank in its category?

The matplotlib skill sits in the Data Science & Analytics category, where it ranks in the top 100. Its neighbors there include azure-kusto and analyze-project. The matplotlib skill sets itself apart with its focus on full plot customization and file export for publication.

More from k-dense-ai/scientific-agent-skills

All 132

Similar to Matplotlib

More Data Science & Analytics