ggplot2
ggplot2 copied to clipboard
An implementation of the Grammar of Graphics in R
Hi! Currently ggplot provides identity-detailed options for adjusting the properties of each element of the legend. The following options for `legend.key.spacing{x/y}`, which adjusts the distance of _each mini group_, and...
--- I found a problem with `facet_wrap` and `coord_radial` Here is the code to reproduce the bug: ``` r library(ggplot2) ggplot(mtcars, aes(disp, mpg)) + geom_point() + facet_wrap( vars(cyl), nrow =...
From Thomas in [the discussion of #6231](https://github.com/tidyverse/ggplot2/pull/6231#issuecomment-2618134236): > Conceptually this feels like it belongs in a stat, but that would preclude it from being used together with other stats like...
In #6287 we identified some problems with namespace conflicts. In total, 53 packages were affected by these. `ggpubr::theme_transparent` conflicts with `ggplot2::theme_transparent`. `sjPlot::set_theme` conflicts with `ggplot2::set_theme`. `greybox::is.scale` conflicts with `ggplot2::is.scale`. Should...
It would be nice if axes also can read layer data for some purposes. The non-position guides already have this access.
I found a problem with the ggplot2-in-packages vignette. I expected it to cover how to fully replace all behaviors from the now-deprecated aes_string() function. However, both of its recommended solutions...
I often need to produce histograms where the x axis uses a date scale, typically binned by day, week, or month. The only sensible end result is where the scale's...
Hello! I have this plot in a Shiny app and so there are a lot of possibly combinations and one of my users pointed this out to me today. In...
While writing about extensions I noticed that the content of `default_aes` in a stat is not added to the data before it is passed through the `compute_*()` mill. This effectively...
This is something @thomasp85 noticed at Tidy Dev Day when he was helping Edzer and I with lazy raster rendering. He noticed the `makeContext` method for my custom grob was...