custom_colormaps.main.
main
Highest interface of the custom-colormap
name (str) – Colormap name. Currently, Dark_rainbow, rainbow2, sls_SAOImage, rainbow3, rainbow_SAOImage, b_SAOImage, spectrum_Starlink, and Hue_sat_value2 are supported.
Dark_rainbow
rainbow2
sls_SAOImage
rainbow3
rainbow_SAOImage
b_SAOImage
spectrum_Starlink
Hue_sat_value2
gamma (float) – gamma corrections for the selected colormap.
reverse (bool) – Choose if you use reversed colormap or not.
Examples
>>> from custom_colormap.main import main >>> cmap = main(name="Dark_rainbow", gamma=1.0, reverse=False)