Automatically and systematically run cm2lut.py during build
Open
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 316
- Avg merge
- 7h 44m
- Merged PRs (30d)
- 5
Description
Right now, the colormaps bundled with the mayavi package on conda-forge are out of sync with the ones in matplotlib. Vega20 is deprecated since matplotlib 2.0! And tab20 is missing.
May I suggest adding the call to cm2lut as a build step so that it gets refreshed before each release.
Side note: the keys are no longer a list in python 3, https://github.com/enthought/mayavi/blob/e2569be1096be3deecb15f8fa8581a3ae3fb77d3/scripts/cm2lut.py#L26 should be `cmap_names = list(datad.keys())`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.