geom_rectfor drawing rectangles (highlight regions, backgrounds)geom_labelfor text labels with background boxesscale_x_reverseandscale_y_reversefor reversed axescoord_fixedfor fixed aspect ratio plotsstrokeparameter forgeom_point(marker border width)arrowandarrow_sizeparameters forgeom_segmentwidthparameter forgeom_errorbar(cap width)parseparameter forgeom_text(MathJax/LaTeX support)linewidthas alias forsize(ggplot2 3.4+ compatibility)- Exported position functions:
position_fill,position_nudge,position_identity,position_dodge2 - Parameter audit complete: standardized
na_rm,show_legend,colouralias across all geoms widthparameter forgeom_col(bar width control)fullrangeparameter forgeom_smooth(extend to full x-axis)positionparameter forgeom_area(stacking support)- Updated docstrings with
linewidthalias documentation - 36 new tests for parameter audit features
- Comprehensive MkDocs documentation
- GitHub Actions workflow for automatic docs deployment
- pyproject.toml for modern Python packaging
- 106 new tests with full coverage (parameters + geom_rect/label)
- Migrated from setup.py to pyproject.toml
- Automatic Pandas index handling (
x='index'or automatic detection) geom_rangefor 5-year historical range plotsgeom_searoutefor maritime shipping routesgeom_edgebundlefor network visualizationgeom_candlestickandgeom_ohlcfor financial chartsgeom_point_3d,geom_surface,geom_wireframefor 3D plotsscale_x_rangesliderandscale_x_rangeselectorfor interactive time seriescoord_sffor map projections- 15 built-in datasets (mpg, diamonds, iris, mtcars, economics, etc.)
guide_legendandguide_colorbarfor legend customization- Facet labellers (
label_both,label_value)
- Improved faceting with consistent colors across panels
geom_contourandgeom_contour_filledgeom_jitterandgeom_ruggeom_ablinefor diagonal reference linesposition_dodge,position_stack,position_fill,position_nudgestat_summaryandstat_ecdfscale_color_gradientandscale_fill_viridis_ctheme_bbcandtheme_nytimes
geom_mapandgeom_sffor geographic datacoord_polarfor pie chartsscale_x_dateandscale_x_datetimescale_color_brewerandscale_fill_brewerannotatefunction for text and shape annotations
- Initial release
- Core ggplot grammar:
ggplot,aes,+operator - Basic geoms: point, line, bar, histogram, boxplot, violin, area, ribbon
- Scales: continuous, log10, manual colors
- Themes: minimal, classic, dark, ggplot2
- Faceting:
facet_wrap,facet_grid - Labels:
labs,ggtitle - Utilities:
ggsave,ggsize
| Item | Type | Description | Status |
|---|---|---|---|
geom_rect |
Geom | Rectangles for highlighting regions | DONE |
geom_label |
Geom | Text labels with background box | DONE |
scale_x_reverse |
Scale | Reversed x-axis | DONE |
scale_y_reverse |
Scale | Reversed y-axis | DONE |
coord_fixed |
Coord | Fixed aspect ratio (essential for maps) | DONE |
| Parameter audit | Quality | Review all geom params vs ggplot2 | DONE |
| Item | Type | Description | Status |
|---|---|---|---|
geom_pointrange |
Geom | Point with error bars | TODO |
geom_linerange |
Geom | Vertical line ranges | TODO |
geom_raster |
Geom | High-performance rectangular tiles | TODO |
geom_polygon |
Geom | Arbitrary polygons | TODO |
geom_dotplot |
Geom | Dot plots | TODO |
geom_freqpoly |
Geom | Frequency polygons | TODO |
geom_spoke |
Geom | Line segments by angle | TODO |
geom_curve |
Geom | Curved line segments | TODO |
stat_bin_2d |
Stat | 2D binning | TODO |
stat_boxplot |
Stat | Boxplot statistics | TODO |
stat_unique |
Stat | Remove duplicates | TODO |
scale_alpha |
Scale | Alpha/transparency scaling | TODO |
scale_linetype |
Scale | Linetype scaling | TODO |
scale_x_sqrt |
Scale | Square root x-axis | TODO |
scale_y_sqrt |
Scale | Square root y-axis | TODO |
scale_color_viridis_c |
Scale | Viridis for color aesthetic | TODO |
scale_fill_viridis_d |
Scale | Viridis discrete for fill | TODO |
scale_color_distiller |
Scale | ColorBrewer continuous for color | TODO |
theme_bw |
Theme | Black and white theme | TODO |
theme_void |
Theme | Empty theme | TODO |
xlab / ylab |
Label | Axis label shortcuts | TODO |
coord_trans |
Coord | Transformed coordinates | TODO |
- Animation slider (Plotly animation frames)
- Dropdown selectors for data filtering
- Linked brushing between plots
- Custom hover templates via parameter
-
geom_density_2d- 2D density estimation -
geom_hex- Hexagonal binning -
geom_quantile- Quantile regression lines -
geom_crossbar- Crossbar error bars
-
stat_bin_2d- 2D binning -
stat_ellipse- Confidence ellipses -
stat_functionenhancements - Better integration with statsmodels
-
element_*functions for fine-grained theming - More theme presets (economist, fivethirtyeight, etc.)
- Better default color palettes
- Improved legend positioning
- Basic:
geom_point,geom_line,geom_lines,geom_path,geom_bar,geom_col,geom_area,geom_ribbon - Distribution:
geom_histogram,geom_density,geom_boxplot,geom_violin,geom_qq,geom_qq_line,geom_norm - Statistical:
geom_smooth,geom_errorbar - Annotation:
geom_text,geom_label,geom_rect,geom_hline,geom_vline,geom_abline,geom_segment - Specialized:
geom_tile,geom_contour,geom_contour_filled - Financial:
geom_candlestick,geom_ohlc,geom_waterfall,geom_fanchart - Time Series:
geom_stl,geom_acf,geom_pacf,geom_range - 3D:
geom_point_3d,geom_surface,geom_wireframe - Geographic:
geom_map,geom_sf,geom_searoute - Network:
geom_edgebundle,geom_sankey - Other:
geom_step,geom_jitter,geom_rug
stat_identity, stat_count, stat_bin, stat_density, stat_smooth, stat_summary, stat_ecdf, stat_function, stat_qq, stat_qq_line, stat_stl, stat_fanchart, stat_contour
- Continuous:
scale_x_continuous,scale_y_continuous,scale_x_log10,scale_y_log10 - Reversed:
scale_x_reverse,scale_y_reverse - Date/Time:
scale_x_date,scale_x_datetime - Color:
scale_color_manual,scale_color_gradient,scale_color_brewer - Fill:
scale_fill_manual,scale_fill_gradient,scale_fill_brewer,scale_fill_viridis_c - Other:
scale_shape_manual,scale_size - Interactive:
scale_x_rangeslider,scale_x_rangeselector
coord_cartesian, coord_fixed, coord_flip, coord_polar, coord_sf
position_identity, position_dodge, position_dodge2, position_stack, position_fill, position_jitter, position_nudge
theme_default, theme_minimal, theme_classic, theme_dark, theme_ggplot2, theme_bbc, theme_nytimes, theme_custom, theme
- Faceting:
facet_wrap,facet_gridwith labellers (label_both,label_value) - Guides:
guides,guide_legend,guide_colorbar - Labels:
labs,ggtitle,annotate - Limits:
xlim,ylim,lims - Utilities:
ggsave,ggsize - Data:
data(16 built-in datasets),map_data,aes,after_stat,layer
When implementing new features:
- Follow ggplot2 conventions (see CLAUDE.md)
- Add tests covering all 4 categories (basic, edge cases, integration, visual regression)
- Update this roadmap when features are completed
- Add examples to
examples/directory