ggplot2
ggplot2 copied to clipboard
An implementation of the Grammar of Graphics in R
Currently, `ggplot2::labeller()` silently labels the facets with "NA" if the user supplies unnamed character vectors. ``` r library(ggplot2) ggplot(ToothGrowth, aes(y = len)) + geom_boxplot() + facet_wrap(vars(supp), labeller = labeller(supp =...
I would like `coord_cartesian` to return a more human-readable error when I mess up the syntax: ## example ```r library(ggplot2) ggplot(iris, aes(Petal.Length,Petal.Width)) + geom_point() + coord_cartesian(xlim(2,6)) ``` ## observed behaviour...
Currently this argument does not have an effect when using `geom_sf()`. ``` r library("ggplot2") nc
Currently, axis and legend titles default to the column names of the data.frame. There are several packages that provide functions to attach more comprehensive variable labels to data.frame columns (e.g.,...
ggplot2 uses the old format of issue template. Nowadays we can have multiple formats for different purposes. I found tidymodels' template nice in that it makes it clear that the...
I'm using ggplot2 3.3.5 and found that `geom_point()` and `geom_jitter(height = 0, width = 0)` have different behaviors for dealing with zero values in log-transformed axes. In particular, geom_point() represents...
CC @hadley Currently, there is no easy way to pass a function return to `alt` argument using dot symbol. Please allow `alt` to take a function return. ## Reprex ```...
Due to the fortify method for \ objects, {dplyr} is require for plotting with non-tibble \ classes: https://github.com/tidyverse/ggplot2/blob/0e64d9c56ccc8db31971723810c3c10f0a67d9e4/R/fortify.r#L19-L22 I view {pillar} and the \ subclass as mainly for formatting so...
This PR aims to implement drawing axes at interior facets proposed in #4064. It implements this for `facet_wrap()` as well as for `facet_grid()`. While the changes for `facet_wrap()` are quite...
e.g. https://news.ycombinator.com/item?id=30765650 Maybe more documentation generation with code?