ggplot2
ggplot2 copied to clipboard
An implementation of the Grammar of Graphics in R
This PR aims to fix #3026 and fix #5445. Briefly, it adds the ability for position adjustments to declare their own aesthetics. It is currently only implemented for `position_nudge()`. On...
This PR aims to fix #6064. Additionally it would also fix #6068 and fix #5843 and #2851. The PR is a draft, as the {scales} version that powers this PR...
Following on from https://github.com/tidyverse/ggplot2/issues/6081 This would be helpful, as qq_line is always needed in the panel - and then you would have the flexibility to adjust the scale and coord...
Following on from https://github.com/tidyverse/ggplot2/issues/6081 This would be helpful, as abline is always needed in the panel - and then you would have the flexibility to adjust the scale and coord...
This PR aims to fix #6086. Briefly, also clips the line to y-limits. Reprex from https://github.com/tidyverse/ggplot2/issues/6086#issuecomment-2334851231: ``` r devtools::load_all("~/packages/ggplot2") #> ℹ Loading ggplot2 ggplot() + geom_abline(colour = "blue", slope =...
The `scale_*_steps*` functions currently do not _apply_ the full range of colours to a plot. See example below of `scale_colour_binned`, which _applies_ the full range of the viridis colour palette...
I've been testing out the new discrete secondary axis functionality in the DEV version. Firstly, awesome work and a great advance! I felt the discrete secondary axis labels and breaks...
This PR aims to fix #3501 and replaces #6066. It improves upon #6066 by simplifying the stat to `stat_manual(fun = identity)`. It really is a thin wrapper to essentially offer...
How do I (or...can I?) create a grouped boxplot in ggplot2 that does not drop the levels? Here's an example: ```r df
This PR explores to fix #1516. It follows the approach proposed in https://github.com/tidyverse/ggplot2/issues/1516#issuecomment-1405478064. I've numbered the comments in the code below so it'd be easier to follow. This PR is...