Skip to content

Colormap

Colormap

Colormap(colormap: str = None)

Colormap transform allows to map a scalar to a color

Colormap transform allows to map a scalar to a color

python docs/snippets/Colormap_init.py

Parameters:

Name Type Description Default
colormap str

Name of the colormap

None

set_colormap

set_colormap(colormap: str)

Set the colormap

python docs/snippets/Colormap_set_colormap.py

Parameters:

Name Type Description Default
colormap str

Name of the colormap

required