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

Colorcet Naming #143

Open
andrew-saydjari opened this issue Dec 3, 2024 · 1 comment
Open

Colorcet Naming #143

andrew-saydjari opened this issue Dec 3, 2024 · 1 comment

Comments

@andrew-saydjari
Copy link

The colorcet names that are in this repo are really difficult to remember. The much shorter ones that correspond to the gallery https://colorcet.com/gallery.html would be nice to have such that one could do ColorSchemes.cet_L2. There are also a few that just have fun names, like cet_gouldian. These are much easier to remember and work with than rainbow_bgyrm_35_85_c71_n256

@cormullion
Copy link
Member

I suppose you could add alternative names to the ‘notes’ fields of schemes. Renaming existing schemes or duplicating current schemes under new names wouldn’t be ideal though.

Perhaps some kind of ‘alias’ would be an idea?

In general, the main problem with lazily-created metacollections like this one is the cluttered global namespace. Some scheme collections fortunately have good UX for this purpose (eg Crameri), others (eg ColorCET) don’t.

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