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

Return the requested number of colors from a given palette when n<3 #23

Open
Dripdrop12 opened this issue Aug 28, 2018 · 0 comments
Open

Comments

@Dripdrop12
Copy link

I'm trying to use brewer.pal with hundreds of graphs, and it would be nice if it gave me the same number of colors I ask for when n=1 or n=2 (instead of returning 3).

It would remove the need to create a custom workaround to handle those cases. Thanks!

@Dripdrop12 Dripdrop12 changed the title Return a value from a given palette when less than 3 color classes are provided Return the requested number of colors from a given palette when n<3 Aug 28, 2018
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

1 participant