ggplot2
ggplot2 copied to clipboard
An implementation of the Grammar of Graphics in R
This PR aims to fix #6005. Briefly, internally we dance around `` labels by casting them to lists of expressions when storing them in ``s and later unpacking such lists...
This PR aims to fix #5995 and fix #3647. Briefly, when `xmin` is absent from the data, `x` is used to count the number of groups per location. In addition,...
This PR aims to fix part of https://github.com/tidyverse/ggplot2/issues/5986#issuecomment-2217476203. Briefly, MASS is required for 2D KDE and a particular ellipse type and not broadly all over ggplot2. This PR moves it...
This PR aims to fix #5972. Briefly, it ensures that function-breaks are called with the `n = n.breaks` argument when supported, not just breaks derived from the transformation. Example: ```...
Hi! I've noticed an annoying bug. When data contains enough variance to plot all breaks, `scale_fill_steps2()` works as expected. ``` r library(ggplot2) data However, when number of breaks exceeds the...
I find it a bit confusing having the `strip.position`/`switch` argument in `facet_wrap`/`facet_grid` that does pretty much the same thing. An idea to make these consistent is to deprecate the `switch`...
Fix #5791
check type for date_breaks and date_minor_breaks #5880
In both scale_*_date and scale_*datetime, added helpful error to suggest using the other type when appropriate ( #3533 )
The justification docs [on this page](https://ggplot2.tidyverse.org/reference/geom_text.html#alignment) (`?geom_text`) are wrong (or at least misleading). These state that a value of 0 is right/bottom and a value of 1 is top/left. Whereas...