Skip to content

Could the NA value be set via the theme in addition to the palette itself? #6337

Closed as not planned
@davidhodge931

Description

@davidhodge931

I noticed that with the new version you'll be able to set the palette via the theme - very cool!

I was wondering if the NA values for these could also be set?

For example..

set_theme(
     theme_grey() + 
     theme(
          palette.colour.discrete = c("red", "blue", "green"), 
          palette.colour.discrete.na = "lightgrey",
     ) 

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