Matplotlib best practices

From Mindrally/skills · View interactive version

Matplotlib best practices is an AI agent skill from the GitHub repository Mindrally/skills. Best practices for Matplotlib data visualization, plotting, and creating publication-quality figures in Python

How to use this skill

Skill file

Matplotlib Best Practices

Expert guidelines for Matplotlib development, focusing on data visualization, plotting, and creating publication-quality figures.

Code Style and Structure

API Approaches

Object-Oriented Interface (Recommended)

Pyplot Interface

Creating Effective Visualizations

Plot Types and Selection

Labels and Annotations

Color and Style

Figure Layout and Composition

Subplots

Figure Size and Resolution

Customization

Style Sheets

Text and Fonts

Saving and Exporting

File Formats

Export Settings

Performance Optimization

Key Conventions

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.