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

cl.flipper( scale=None ) seems not working #34

Open
cylGitHub18 opened this issue Dec 31, 2020 · 0 comments
Open

cl.flipper( scale=None ) seems not working #34

cylGitHub18 opened this issue Dec 31, 2020 · 0 comments

Comments

@cylGitHub18
Copy link

Dear developers of colorlover tool,
I was trying to reverse the colors of "Spectral" in the Diverging category. I thought the function cl.flipper( scale=None ) could achieve this. However, it didn't. From your GitHub webpage, the results of cl.flipper()['div']['3']['RdYlBu'] and cl.scales['3']['div']['RdYlBu'] are the same, the same sequence of the three returned rgb combinations. This perhaps explains why I didn't see reverse Spectral. I tried cl.scales['3']['div']['Spectral_r'], i.e., by adding _r, and it didn't work either. I am not sure if this is a problem or not. Could you please teach me how to reverse the color scale of your tool? Thank you in advance for your insights.

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