ggplot2
ggplot2 copied to clipboard
An implementation of the Grammar of Graphics in R
This PR aims to fix #6121. Briefly, is ensures that the limits it uses to calculate log-breaks are sorted. Moreover, it picks a better default value for `negative.small` when the...
For example, there's an exposed "`#'`" above the first example plot and a "`\donttest{`" below it.
I just updated to the latest versions of R and tidyverse (R 4.4.1, ggplot2 3.5.1), and decided to test out the new axis_logticks with a pseudo_log plot that I find...
This PR aims to fix #6024. Briefly, it enforces some consistency on the various `check_*()` and `validate_*()` functions in ggplot2's unexported functions. Check functions: * Check input verbatim * Their...
This PR aims to progress #5962 and #3798. Taking the deprecation of GeomCol (#3798) as an example, we want users to be able to use `layer(geom = "col", ...)` even...
This PR aims to fix #6117. Briefly, `ScaleDiscrete$map()` has been made vctrs-aware and now works with 2D structures too. A demonstration: ``` r devtools::load_all("~/packages/ggplot2") #> ℹ Loading ggplot2 rcrd ```...
Essentially, the code below should return a `` class rcrd vector, not a mangled list. ``` r library(ggplot2) rcrd [[1]] #> [1] "B" "B" "B" "B" "B" "B" "B" "A"...
This PR aims to fix #4189 and fix #6090. Briefly, this PR would allow people to use 2D structures like matrices, data.frames and tibbles as aesthetics. We just had to...
This PR aims to fix #6092, but has escalated a bit. I'd say the main thing is that this PR adds and uses a `check_length()` function that checks whether the...
Currently, the default margin values of `margin()` are set to 0. This is not ideal because if a user wants to change the margin only on one side of a...