Skip to content

scale_colour/fill aesthetic only works for British spelling #2674

Closed
@jvcasillas

Description

@jvcasillas

The latest addition of aesthetics to scale_fill_* and scale_colour_* are fantastic, but the colour geom only works with the British spelling.

ggplot(iris, aes(x = Sepal.Length, y = Petal.Length, color = Sepal.Length, fill = Petal.Length)) +
  geom_point(shape = 21, size = 3, stroke = 2) +
  scale_color_viridis_c(name = "Length",
                         option = "B", aesthetics = c("color", "fill"))

Produces...

screen shot 2018-05-30 at 09 26 06

When the desired output is...

screen shot 2018-05-30 at 09 26 41

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions