-
Notifications
You must be signed in to change notification settings - Fork 30
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
Adding R's color brewer pallet #32
Comments
The colorbrewer palettes (which have nothing to do with R) are added. |
Thank you! |
Especially 2, 3 and 4 in the above plot. |
Did you check out that Pull Request I linked? |
Oh I see it got merged. So this is on master? The colors do look a little off. |
EDIT: No it does not, it just uses the default palette, sorry ... |
The problem seems to be in The following code would produce the correct color palette. grad = cgrad(:Dark2)
RGBA{Float64}[grad[z] for z in 1:numcolors] |
|
Yes, we had some discussion about how to best add the categorical palettes, as they are something different from color gradients. We ended up agreeing that we could just include them and it would be fine. Looks like that wasn't correct. |
So, do you think we need a type different from |
I think distinguishing between them could be a possibility yes. But a little unsure of the repercussions |
Would you consider adding the R color brewer pallete
e.g. dark2 pallete
see Github source
The text was updated successfully, but these errors were encountered: