Skip to content
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

Error: Unknown parameters: outlier.color #1455

Closed
GabrielHoffman opened this issue Dec 28, 2015 · 1 comment
Closed

Error: Unknown parameters: outlier.color #1455

GabrielHoffman opened this issue Dec 28, 2015 · 1 comment
Labels
bug an unexpected problem or unintended behavior
Milestone

Comments

@GabrielHoffman
Copy link

In R 3.2.3 the argument outlier.color from geom_boxplot does not work with ggplot2 2.0.0 after working fine with 1.0.1. In v1.0.1 both the American and British spellings were accepted, but in v2.0.0 the American spelling throws the error: "Error: Unknown parameters: outlier.color"

Here is some code to reproduce the error:

library(ggplot2)
packageVersion("ggplot2")

# Basic figure
fig = ggplot(sleep, aes(x=group, y=extra)) 

# colour: British usage
fig + geom_boxplot(outlier.colour='black')

# color: American usage
fig + geom_boxplot(outlier.color='black')

I don't know if this color/colour issue is a problem in other contexts.

@technocrat
Copy link

I think it's an oversight; it's come up in previous versions and has been made Yank-friendly and the NEWS files mentions scale_color as an example. I took a look at the code and didn't see an obvious fix, which isn't surprising at my level of non-expertise. We just have to be patient until a getaroundtoit shows up.

@hadley hadley added the bug an unexpected problem or unintended behavior label Jan 25, 2016
@hadley hadley added this to the v2.1.0 milestone Jan 25, 2016
@hadley hadley closed this as completed in ec5b4d7 Jan 25, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

3 participants