ggplot2
ggplot2 copied to clipboard
An implementation of the Grammar of Graphics in R
This PR aims to fix #6714. Whenever a plot is created, the new `version` property is populated with the current version. If a plot is to be rendered, an error...
This PR aims to fix #6456. It adds a new theme option that controls whether axes get displayed on top or below the panels. The mechanism is changing the `z`...
Repex for this is actually [in the docs](https://ggplot2.tidyverse.org/reference/geom_violin.html), which include an example of the deprecation warning. ```r geom_violin(..., draw_quantiles = c(0.25, 0.5, 0.75)) Warning message: The `draw_quantiles` argument of `geom_violin()`...
In prior versions of ggplot2, geom_vline and geom_hline did not affect the x and y scales, which was/is still currently the documented behavior. However, as of 4.0.1 (and possibly earlier...
This is a spontaneous PR without a linked issue. The current error message when using incompatible `palette` and `na.value` is confusing. It is unclear *why* `na.value` should have the character...
``` r library(tidyverse) p ggplot() + geom_point( aes(x = flipper_length_mm, y = body_mass_g, colour = sex, shape = sex), ) p #> Warning: Removed 11 rows containing missing values or...
This PR does not fix a posted issue. I'd like this check function to use in #6196. I'm filing this PR separately, because it has the potentially breaking change of...
This PR aims to fix #6551. Briefly, we allow setting the colour/linetype/linewidth of the confidence bands in `geom_smooth()`. A demonstration: ``` r devtools::load_all("~/packages/ggplot2/") #> ℹ Loading ggplot2 ggplot(mpg, aes(displ, hwy,...
This PR aims to fix #6607. I'll reiterate that this is just for consistency purposes. I know from previous revdepchecks that some packages save their themes to objects instead of...
From the aesthetic specificiations vignette: > Due to a historical error, the unit of linewidth is roughly 0.75 mm. Making it exactly 1 mm would change a very large number...