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
History
File Mode Size
_includes
_layouts
api
examples
paper
resources
tutorials
CONTRIBUTING.md -rw-r--r-- 2.9 KB
README.md -rw-r--r-- 5.6 KB
_config.yml -rw-r--r-- 272 bytes
conda.txt -rw-r--r-- 182 bytes
example_dataset.md -rw-r--r-- 2.1 KB
google_earth.md -rw-r--r-- 4.2 KB
hdfeos5.md -rw-r--r-- 3.1 KB
installation.md -rw-r--r-- 6.2 KB
ports.txt -rw-r--r-- 1.4 KB
references.md -rw-r--r-- 4.2 KB
requirements.txt -rw-r--r-- 204 bytes
run_giant.md -rw-r--r-- 1.2 KB

README.md

back to top