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

All discrete scientific colorschemes are one color short #130

Closed
kdyrhage opened this issue Sep 17, 2024 · 1 comment · Fixed by #131
Closed

All discrete scientific colorschemes are one color short #130

kdyrhage opened this issue Sep 17, 2024 · 1 comment · Fixed by #131

Comments

@kdyrhage
Copy link
Contributor

All discrete (i.e. numbered) colorschemes from the scientific suite appear to be one color short, specifically the first color. For example, colorschemes[:acton10] contains 9 colors, not the expected 10, and colorschemes[:acton100] contains 99 colors. This seems to have been introduced in db7ed7b. I will make a pull request that addresses this issue.

@cormullion
Copy link
Member

Hi! I might have made an off-by-one error in my code 😂 (I have a script that scans the directory and builds the data files…)

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

Successfully merging a pull request may close this issue.

2 participants