Skip to content

Create alias for colors= in scale_color_gradientn() #1290

@beroe

Description

@beroe

Not sure if this has been addressed before, or if it is by design: It works if you spell colours= as an argument for scale_color_gradientn but not if you put colors=

   + scale_color_gradientn(colors = rainbow(4))  # fails      
   + scale_color_gradientn(colours = rainbow(4))  # works

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