Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

matplotlib

Skill by sickn33

Guides an AI assistant through Matplotlib, Python's visualization library, for creating static, animated, and interactive plots. Aimed at users making scientific, statistical, and publication-quality charts.

  • Score 92
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install matplotlib

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/matplotlib ~/.claude/skills/matplotlib

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install matplotlib in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant guidance on using Matplotlib, Python's visualization library, to create static, animated, and interactive plots. It covers the pyplot interface and the object-oriented Figure and Axes API. It also covers common plot types such as line, scatter, bar, histogram, heatmap, contour, box, violin, and 3D plots, along with multi-panel layouts, styling, and exporting figures.

The skill recommends the object-oriented interface for most use cases and includes best practices on figure size, DPI, colormaps, and accessibility. It bundles reference documents and two helper scripts, a plot template and a style configurator. The source describes it for anyone generating scientific or statistical visualizations, including in Jupyter notebooks or GUI applications.

Written from the project's SKILL.md and checked against it.

What it can do

  • Plot typesCovers line, scatter, bar, histogram, heatmap, contour, box, violin, and 3D plots.
  • Interface guidanceExplains the pyplot interface and the recommended object-oriented Figure and Axes API.
  • Multi-panel layoutsShows subplots, subplot_mosaic, and GridSpec for multi-panel figures.
  • StylingCovers colors, colormaps, style sheets, rcParams, and text annotations.
  • Figure exportShows saving figures as PNG, PDF, or SVG with DPI and whitespace options.
  • Best practicesGives advice on layout, DPI by output medium, colormap choice, and accessibility.
  • plot_template.pyTemplate script demonstrating various plot types with best practices.
  • style_configurator.pyInteractive utility to configure style preferences and generate custom style sheets.

What you need

  • Python
  • NumPy
  • Matplotlib 3.10 or newer (current examples)
  • SciPy for the histogram and all modes of the helper scripts

Try asking

  • Make a two-panel figure with a line plot and a histogram in Matplotlib
  • Save this plot as a 300 dpi PNG and a vector PDF
  • Create a 3D surface plot with labeled axes using Matplotlib

Good to know

  • The style configurator refuses to overwrite an existing style or preview image.
  • Current examples use Matplotlib 3.10 or newer.
  • The histogram and all modes of the helper scripts import SciPy.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/matplotlib/SKILL.md, skills/matplotlib/scripts/plot_template.py, skills/matplotlib/scripts/style_configurator.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB
  • UPSTREAM-LICENSE.txt1 KB
  • UPSTREAM-NOTICE.md2 KB
  • references/api_reference.md11 KB
  • references/common_issues.md13 KB
Show all 9 files
  • references/plot_types.md12 KB
  • references/styling_guide.md13 KB
  • scripts/plot_template.py12 KB
  • scripts/style_configurator.py13 KB

Alternatives to matplotlib

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

matplotlib: common questions

Which Matplotlib interface does this skill recommend?

The skill recommends the object-oriented interface, using fig, ax = plt.subplots(), for most use cases. It reserves pyplot for quick interactive exploration.

What file formats can figures be exported to?

The source shows saving to PNG, PDF, and SVG, and mentions other formats. It advises 300 dpi for publications and vector formats for scalable output.

Does the skill need SciPy?

The templates need NumPy and Matplotlib. SciPy is only imported by the histogram and all modes of the helper scripts.

How do I install matplotlib?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is matplotlib free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is matplotlib safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to matplotlib?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

matplotlib Install

Add to stack

Loading.