What problem does it solve?
Matplotlib streamlines turning data into high-quality charts by providing fine-grained control over every figure element, from axes and labels to styling and export formats.
Core Features & Use Cases
- Custom plot creation: Build line plots, scatter plots, bar charts, histograms, heatmaps, contour plots, box/violin plots, and more.
- Complex layouts: Produce multi-panel figures using subplots, mosaic layouts, or GridSpec for maximal control.
- Publication-quality output: Export to PNG/PDF/SVG with appropriate DPI, layout tightening, and formatting best practices.
- Styling and consistency: Configure appearance via styles (style sheets and rcParams), including accessible and perceptually uniform colormaps.
- Interoperability: Integrate smoothly with NumPy/Pandas, Seaborn (for higher-level stats), and Jupyter notebooks or GUIs.
Quick Start
Create an object-oriented figure with subplots, plot your data on the Axes, then save the result as a high-resolution PNG for sharing or publication.