matplotlib

Create publication-quality static, animated, and interactive plots in Python with pyplot and OO interfaces.

1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/Hung-3008/agusta --skill matplotlib-hung-3008
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: matplotlib
Source: https://github.com/Hung-3008/agusta/tree/main/.agents/skills/matplotlib
Command: npx skills add https://github.com/Hung-3008/agusta --skill matplotlib-hung-3008

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, matplotlib, scipy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Matplotlib provides the tools to create static, animated, and interactive visualizations with fine-grained control over every plot element, enabling researchers and engineers to produce publication-quality figures.

Core Features & Use Cases

  • Two Interfaces: Use the pyplot interface for quick exploration or the object-oriented API (Figure/Axes) for production-grade code.
  • Wide Plot Coverage: Create line, scatter, bar, histogram, heatmap, contour, 3D plots, and more; customize colors, styles, layouts, and export to PNG/PDF/SVG.
  • Publication-Ready Workflows: Build multi-panel figures, integrate into notebooks or GUI apps, and apply styling for journal-ready visuals.

Quick Start

Create a publication-quality line plot by calling plt.subplots to obtain a Figure and Axes, plotting with ax.plot, and saving the result with plt.savefig.

Frequently Asked Questions about matplotlib

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create publication-quality plots in Python with full control over layout?

To create publication-quality visualizations with full control over every plot element, use the object-oriented interface to build multi-panel figures, apply custom styling, and export the results to PNG, PDF, or SVG formats.

What is the difference between the pyplot and object-oriented interfaces for data visualization?

The pyplot interface enables quick interactive exploration, while the object-oriented Figure and Axes API provides granular control required for production-grade code and complex multi-panel figure layouts.

Can I generate 3D and animated visualizations in a Python notebook environment?

Yes, you can generate static, animated, and interactive plots including 3D visualizations directly within Python notebooks, scripts, or GUI applications using the supported interfaces.

How do I export a matplotlib figure to vector graphics for journal submission?

You can export figures to vector graphics for journal submission by calling the savefig function, which supports high-resolution SVG and PDF outputs alongside standard PNG files.

Do I need numpy and scipy installed to create plots with this Skill?

Yes, numpy, scipy, and matplotlib are required dependencies, providing the foundational numerical operations and plotting framework needed to generate and render the visualizations.

What is the best way to build multi-panel figures for academic publications?

The best way to build multi-panel figures is using the object-oriented interface to instantiate a Figure and multiple Axes, allowing precise layout control and journal-ready styling before exporting.