matplotlib
Installation
SKILL.md
Matplotlib
Matplotlib is the grandfather of Python plotting. It is verbose but provides infinite control.
When to Use
- Publication-Quality Scientific Plotting: Generating exact, reproducible figures for academic papers, documentation, and reports.
- Fine-Grained Custom Visualizations: Complete control over every pixel, tick, axis spine, legend, and colorbar.
- Headless Server-Side Chart Rendering: Generating PNG, SVG, and PDF visualizations in backend microservices without GUI displays.
- Subplot Grid Layouts: Assembling multi-panel visual figure grids with
GridSpec.
Quick Start
import matplotlib.pyplot as plt
import numpy as np