Skip to content

Allow more aliases #60

@randallpittman

Description

@randallpittman

colorcet.m (essentially the "canonical" upstream, though created by cmap.m) offers more aliases for colorcet maps than are possible via CET_to_py.py, since the aliases dict is a one-to-one mapping of descriptor name to alias (e.g. linear_kryw_0-100_c71_n256: 'fire')

Describe the solution you'd like

Change aliases in CET_to_py.py to a dict of lists where each descriptorname can have multiple aliases. Rework uses of aliases to handle a list of values returned for each key.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions