-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviorscales π
Milestone
Description
This seems to be a breaking change in the current development version.
In ggplot2 version 3.4.4 (latest tag), scale_color_brewer("year")
would set "year"
as the name of the scale:
library(ggplot2)
packageVersion("ggplot2")
#> [1] '3.4.4'
ggplot(mpg, aes(displ, hwy)) +
geom_point(aes(colour = factor(year)), size = 5) +
scale_color_brewer("year")
In current dev version, this doesn't work:
library(ggplot2)
packageVersion("ggplot2")
#> [1] '3.4.4.9000'
ggplot(mpg, aes(displ, hwy)) +
geom_point(aes(colour = factor(year)), size = 5) +
scale_color_brewer("year")
olivroy and jan-glx
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviorscales π