matplotlib

Creates static, animated, and interactive plots with matplotlib for Python.

557|98|Updated Nov 7, 2025
One-click install
npx skills add https://github.com/jimmc414/Kosmos --skill matplotlib-jimmc414
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: matplotlib
Source: https://github.com/jimmc414/Kosmos/tree/main/kosmos-claude-scientific-skills/scientific-skills/matplotlib
Command: npx skills add https://github.com/jimmc414/Kosmos --skill matplotlib-jimmc414

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill empowers users to create a wide array of static, animated, and interactive plots for scientific visualization and publication-quality figures, transforming raw data into insightful visual narratives.

Core Features & Use Cases

  • Diverse Plot Types: Generate line plots, scatter plots, bar charts, histograms, heatmaps, contour plots, 3D visualizations, and more.
  • Customization: Fine-tune every aspect of your plots, including colors, styles, labels, legends, and layout.
  • Publication-Ready Output: Export plots in various formats (PNG, PDF, SVG) with high resolution and tight layouts.
  • Use Case: A researcher needs to visualize the relationship between two experimental variables and their distribution. This Skill can generate a scatter plot with color-coded points representing a third variable and a histogram overlay to show the data distribution.

Quick Start

Use the matplotlib skill to create a line plot of the provided x and y data.

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 for scientific data visualization?

To create publication-quality plots for scientific data visualization, use matplotlib to generate static, animated, and interactive figures. You can fine-tune visual elements and export high-resolution outputs in formats like PNG, PDF, and SVG with tight layouts.

Can I use matplotlib with NumPy and Pandas for data handling?

Yes, matplotlib integrates with NumPy and Pandas for data handling. This integration allows you to directly plot data arrays and DataFrames, transforming raw data into insightful visual narratives using diverse plot types.

What types of graphs and charts can I generate for data analysis?

For data analysis, you can generate diverse graph types including line plots, scatter plots, bar charts, histograms, heatmaps, contour plots, and 3D visualizations to comprehensively represent your datasets.

How do I customize colors, styles, and legends in my Python plots?

You can customize colors, styles, labels, legends, and layout in your Python plots using matplotlib. This extensive customization allows fine-tuning of every visual aspect to meet specific scientific visualization requirements.

What is the best way to visualize the relationship between two experimental variables?

The best way to visualize the relationship between two experimental variables is by generating a scatter plot. Using matplotlib, you can color-code points to represent a third variable and overlay a histogram to show data distribution.