ggplot2
ggplot2 copied to clipboard
An implementation of the Grammar of Graphics in R
I'm developing a ggplot2 extension where it would be helpful to pass a tibble column as an aesthetic. As a simple motivating example, you could imagine a `geom_box()` layer with...
A common use-case is to want to change the legend glyph for geom_text from E.G. This stack overflow question has 48k views: https://stackoverflow.com/questions/18337653/remove-a-from-legend-when-using-aesthetics-and-geom-text This pull request adds to `geom_text` help...
Hi! I'm trying to plot some data from a Haven labelled dataset using ggplot2. I'm grouping by "sex", a labelled int column. However, I get the following: ```r ggplot() +...
Hi Everyone, I am trying to plot points to a graph from two dataframes (structured identically) and also faceting the graph. I would like to be in full control over...
Followup to #3815 I did not have the separation at the correct point and I did not explain it well. Trying again. ---------------------- ## Context Let's say `foo` is a...
Hi Team The graphic engine and grid is getting some love lately and we will look into a future where gradient + image fill and non-rectangular clipping is available on...
This comment https://github.com/tidyverse/ggplot2/issues/3619#issuecomment-628021555 prompted me to look into `plot_env`, and as far as I can see it's stored and handed around just so it can be eventually given to the...
Since I updated R to version 4.0 the scale_x_reverse () function has stopped working together with renderPlot () or renderPlotly( ), which I use in a shiny app that I...
We issue a clear warning below but new users may not understand the severity. A better error message when rendering the plot would be an improvement ``` r library(ggplot2) #...
I'm trying to use preserve = "single" as you would with boxplots to maintain the sizes of the boxes when there are unused factors. While I figured it would work...