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

Is it possible to add a palette for Aus states? #9

Closed
IdoBar opened this issue May 8, 2022 · 2 comments
Closed

Is it possible to add a palette for Aus states? #9

IdoBar opened this issue May 8, 2022 · 2 comments

Comments

@IdoBar
Copy link

IdoBar commented May 8, 2022

See the attached image (from Wikipedia):
image

You can use the following:

states_pal <- set_names(c("#741128", "#88CFEC", "#DBEBE7", "#C35E00", "#FFD800", "#0645AD", "#FF0000"), c("QLD", "NSW", "VIC", "NT",  "WA", "TAS", "SA"))
@dicook
Copy link
Collaborator

dicook commented Sep 25, 2023

Hi @IdoBar Sorry, I just saw this now. Any chance you would be willing to make a pull request to add it? It would be a wonderful addition!

@IdoBar
Copy link
Author

IdoBar commented Nov 4, 2023

@dicook , done (see PR #10)
Is it possible to use a named vector for the palette? will it break anything?

@IdoBar IdoBar closed this as completed Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants