ggplot2
ggplot2 copied to clipboard
An implementation of the Grammar of Graphics in R
I need to align a horizontal legend with the square defined by the x and y-axis, as in the following example. This is partially related to #3989. ```r library(patchwork); library(dplyr)...
An easier way to remove outliers and expand the boxplots to fill the graph would be nice. This does work but I would have thought that there would be some...
It makes sense that it’s not possible to mix `facet_grid(..., scales = "free", space = "free")` with `coord_fixed()` in most situations. However, I think that it should be possible and...
``` r library(ggplot2) ggplot(mpg, aes(class, hwy)) + geom_boxplot(aes(fill = stage(class))) #> Error in uq_expr[[3]]: subscript out of bounds ``` Created on 2022-06-13 by the [reprex package](https://reprex.tidyverse.org) (v2.0.1)
A follow up of #3672. Related to #4872, #2798 In my understanding, `fatten` was a workaround for the inability of controlling the point size and the line width differently. So,...
I'm not sure if this is related to issue #3729 at all, but here it is: when using the `size` aesthetic for a bar/col geometry, the corresponding legend does not...
Hello First of all, I have used `ggplot` pretty much every working day for I don't know how many years now, so I should use this opportunity to say thank...
A problem that pops up repeatedly in different contexts is that we may want to adjust certain scale parameters without explicitly calling a scale function. We already have some support...
Allowing `breaks` in `stat_bin()` to accept functions would be useful in the context of grouping structures. The changes would also enable facet histograms for estimators with variable bin width, e.g,...
The guide system is the last remaining major ggplot2 component that has not been converted to ggproto. As a consequence, it doesn't match well with the rest of the ggplot2...