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 #3449. Briefly, it adds a `keep.zeroes` argument to `stat_bin()` that controls what happens to zero-count bins. Rather than `trim = TRUE/FALSE`, I think a third...

This PR does not fix an issue, but I see it as regular maintenance. Briefly, it converts `deprecate_warn0()` to `lifecycle::deprecate_stop()` for functions/arguments that were deprecated prior to ggplot 3.3.0. It...

This PR aims to fix #6135. It works by appending any scaled/staged expressions in `Geom$default_aes` to the modified computed mapping and evaluating these along with them. Reprex from issue: ```...

I found a problem with the naming of panels (naming within the table grob) with `facet_wrap`; the panels are named in the wrong order. This is not really an issue...

internals :mag_right:

This was brought to my attention by @larmarange. Hypothetically, one could want to automate making the following plot, by setting the default `colour` aesthetic in the geom. ``` r library(ggplot2)...

I found a problem with the `resolution` function. I expected it to fail on `difftime` objects uniformly but it does not. This is related to the `scales` package: Here is...

This PR aims to fix #6115. Briefly it allows NA-units in `margin()` that get back-filled from parent elements. The function `part_margin()` is a `margin()` wrapper that by default has `NA`-units....

This PR fixes https://github.com/tidyverse/ggplot2/pull/5904#issuecomment-2403851670. Briefly, `linetype` never ended up in the grob's graphical parameters. This PR fixes that.

This PR makes a lot of small tweaks in the code based on a select few linters from the {lintr} package. I didn't blindly obey all the linters; in some...