Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Builds static publication-quality plots in Python using plotnine's ggplot2-style grammar of graphics.
77% 100%+23 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 17 of 22 without it.
3 of 3 safety checks passed
1 agent run
plotnine static visualization library for Python, implementing the grammar of graphics (ggplot2 syntax). Covers geoms (point, line, bar, histogram, boxplot, smooth), aesthetics, scales, coordinates, facets, and themes. Use when creating static publication-quality figures with ggplot2-style syntax, producing charts for print or reports, or working with an R ggplot2 background. Prefer over plotly when static output is needed.
Quick reference for creating data visualizations with plotnine, a Python implementation of the grammar of graphics (ggplot2).
plotnine is a data visualization library based on the grammar of graphics:
+| File | Purpose | When to Read |
|---|---|---|
quickstart.md | Installation, imports, basic syntax | Starting out |
geoms.md | Geometric objects (points, lines, bars) | Choosing chart types |
aesthetics.md | Mapping data to visual properties | Customizing appearance |
scales-coords.md | Scales, coordinates, positions | Axis/color control |
facets-themes.md | Multi-panel plots and styling | Layout and themes |
gotchas.md | Common errors and best practices | Debugging |
What kind of plot?
├─ Scatter plot (geom_point) → ./references/geoms.md
├─ Line plot (geom_line) → ./references/geoms.md
├─ Bar chart (geom_bar, geom_col) → ./references/geoms.md
├─ Histogram (geom_histogram) → ./references/geoms.md
├─ Box plot (geom_boxplot) → ./references/geoms.md
└─ Other geoms → ./references/geoms.md
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.