Skip to content

Error: Unknown parameters: outlier.color #1455

Closed
@GabrielHoffman

Description

@GabrielHoffman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions