Matplotlib Chart Builder
A guide to creating publication-quality charts and data visualizations with Matplotlib's comprehensive plotting library.
Usage
Ask about chart types, customization, subplots, styling, or export options.
Examples
- "Create a multi-line chart with custom styling and legend"
- "How do I create a subplot grid with shared axes?"
- "Build an annotated scatter plot with trend line"
Guidelines
- Use the object-oriented API (fig, ax) over pyplot for complex plots
- Set figure size and DPI appropriate for the output medium
- Use consistent color palettes across related visualizations
- Add clear labels, titles, and legends for readability
- Export with tight_layout() to prevent label clipping