Skip to content

colorella allows usage of colormaps from different sources

License

Notifications You must be signed in to change notification settings

TUW-GEO/colorella

Repository files navigation

Colorella

Build Status Coverage Status PyPi Package RTD License: MIT

Description

Colorella stands for Color organizing and easy to learn laboratory and provides a colormap class that allows the usage of colormaps from different sources and functions for their efficient application. Currently the import from Colormaps from Matplotlib, Colorcet and .cpt, .ct and .json files is supported. Functionality includes showing, reversering, converting colormaps to greyscale, converting and importing to and from Gdal colortables as well as saving colormaps to various formats (.cpt, .ct, .json). For a complete documentation please read the documentation or have a look at the examples in /examples.

Installation

To install the lastest release of colorella in your own environment, use:

pip install colorella

Installing a specific branch and creating an environment with conda can also be performed using the following commands:

git clone [email protected]:TUW-GEO/colorella.git@branch colorella

cd colorella

conda env create -f environment.yml

source activate colorella

Citation

If you use the software in a publication then please cite it using the Zenodo DOI. Be aware that this badge links to the latest package version.

Please select your specific version at xxxxx to get the DOI of that version. You should normally always use the DOI for the specific version of your record in citations. This is to ensure that other researchers can access the exact research artefact you used for reproducibility.

You can find additional information regarding DOI versioning at http:https://help.zenodo.org/#versioning

Note

This project has been set up using PyScaffold 3.2.3. For details and usage information on PyScaffold see https://pyscaffold.org/.

This package includes colormaps from Crameri et al.https://www.nature.com/articles/s41467-020-19160-7 available via https://zenodo.org/record/4153113#.X66Mz3XYqV6