Revision 7cc9e3b4b97505e5d6281650d9bebb285bb39183 authored by Zhang Yunjun on 18 July 2019, 15:42:00 UTC, committed by Zhang Yunjun on 19 July 2019, 00:26:46 UTC
+ support local GMT cpt colormaps for macOS user if GMT is installed with macports + add several colormaps from Scientific Color-Maps project by Fabio Crameri + update docs/resources/colormaps/README.md with images for easy navigation + move ColormapExt class from utils/plot.py to objects/colors.py - import objects.colors in utils/plot.py so that all previous usage won't be affected. - change "truncate_" prefix to "_truncate" suffix for derivative colormap for consistency - change "{int}" suffix to "{_int}" suffix for derivative colormap for consistency - modify read_cpt_file() to support cpt files from GMT - add check_input_colormap_name() to simplify the class workflow. - support combined derivative settings in get_colormap() + move global variable mplColors to objects/colors, and import it in utils/plot.py, so that all previous usage won't be affected.
1 parent 1495360
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...