Skip to content

update_geom_defaults only accepts British spelling #2299

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

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

update_geom_defaults only accepts British spelling #2299

dietrichson opened this issue Oct 16, 2017 · 0 comments

Comments

@dietrichson
Copy link

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 update_geom_default only accepts British spelling update_geom_defaults only accepts British spelling Oct 16, 2017
hadley pushed a commit that referenced this issue Oct 30, 2017
…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.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant