ggplot2 icon indicating copy to clipboard operation
ggplot2 copied to clipboard

An implementation of the Grammar of Graphics in R

Results 510 ggplot2 issues
Sort by recently updated
recently updated
newest added

This PR aims to fix #6247. Briefly, it adds the plumbing to let panel data reach the `get_layer_key()` method of position guides. I've put this in as a draft, because...

This PR aims to fix #5760. I think I did everything correctly, but I'd be wise for somebody with more experience with quarto to take a glance.

This PR aims to fix #6208. If somebody has better advice for dealing with optional character-input, I'd be glad to adjust.

This is a proof of concept of the minimal changes necessary to fix #6159. If you're willing to consider this approach I'll finish it off with documentation, tests, and the...

This PR aims to fix #5999. Briefly, it deprecates `facet_grid(switch)` in favour of `facet_grid(strip.position = "top"/"bottom"/"left"/"right")`. If one of the directions is omitted (top/bottom in example below), the default will...

This pull request is on top of: - #5032. - #5031 When a geom maps a data to a fill or colour aesthetic, the scale will transform column values into...

The `Geom$optional_aes` and `Stat$optional_aes` fields seem redundant to me. Instead of having these fields, we can declare `default_aes = aes(optional_aesthetic = NULL)`. While I would like to see these fields...

internals :mag_right:
layers :chart_with_upwards_trend:
API change 😈

To my understanding, ggplot2 use to have a `nullGrob()` function itself. At some point, {grid} also introduced a homonymous function, forcing ggplot2 to introduce `zeroGrob()` to avoid a namespace conflict...

internals :mag_right:

When I was trying to remake this plot: ![Image](https://github.com/user-attachments/assets/6d243719-f864-4d0e-9dc9-e020be6afa29) It's quite hard to create these legends as we are already using `fill` and `color`. I know there some options, but...

`coord_radial()` currently has `outer.radius` hardcoded to `0.8` (0.4 = 0.8/2), preventing users from adjusting the large spacing described in: https://github.com/tidyverse/ggplot2/issues/6284. If this looks good, I can submit a pull request.

coord :world_map: