New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update_geom_defaults only accepts British spelling #2299

Closed
dietrichson opened this Issue Oct 16, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@dietrichson

dietrichson commented Oct 16, 2017

update_geom_default with color instead of colour does not update the default.

library(ggplot2)
b <- ggplot(mtcars, aes(wt, mpg)) +
  geom_point()
b
update_geom_defaults('point',list(color='red'))
b #no change
update_geom_defaults('point',list(colour='red'))
b #colo(u)r updated

@dietrichson dietrichson changed the title from update_geom_default only accepts British spelling to update_geom_defaults only accepts British spelling Oct 16, 2017

@hadley hadley closed this in #2301 Oct 30, 2017

hadley added a commit that referenced this issue Oct 30, 2017

Fix `update_geom_defaults()` and `update_stat_defaults()` to allow Am…
…erican spelling of aesthetic parameters. (#2301)

Fixes #2299.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 18, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.