ggplot2
ggplot2 copied to clipboard
An implementation of the Grammar of Graphics in R
This PR aims to fix #6325. Briefly, it introduces a new stat `stat_chain()` that can combine other stats. It uses `link_stat()` as a helper to parameterise the individual stats that...
When `xend` = `x` and `yend` = `y`, the plot that I see in rstudio shows a "point" for 0-length segments plotted by `geom_segment`. This is desirable to my use-case:...
Just like it is possible to have "global" aesthetic mappings to variables inside `ggplot()`'s `mapping = aes()`, I think it would make sense to be able to set global defaults...
Currently, ggplot2 only supports controlling the arrangement of keys within a single legend box via the `nrow`/`ncol` arguments in `guide_legend()`. However, there's no built-in way to control the arrangement of...
Related to #5669 which discusses this warning. I tried adding aes(size) an a geom which already had size defined as a parameter, and I got the following warning: ``` r...
The last PR related to: - #4989 Depends on: - https://github.com/r-lib/scales/pull/371 Provides a performance improvement with: - https://github.com/tidyverse/ggplot2/pull/5032 This pull request passes the `na.value` colour to the palette in `scale_colour_gradient()`...
This will close #4138. Works around the issue of duplicated column names by explicitly selecting either data columns or layout columns in the `layout` data.frame when needed. Added tests that...
Fix https://github.com/tidyverse/ggplot2/issues/6379 This PR provides `panel.margin` argument to control the spacing between CoordRatial panel and axis
This PR aims to fix #6393. It takes the 'violent' path of deprecating the field. We can also choose to delay deprecating the field.
This PR aim to fix #6390. Briefly, instead of implementing a full `` class, we piggyback on the `grid::nullGrob()`. Simplification is the goal of this PR.