ContinuousColormap.save¶
- ContinuousColormap.save(path=None, alpha=True)[source]¶
Save the colormap data to a file.
- Parameters
path (path-like, optional) – The output filename. If not provided, the colormap is saved in the
cmapssubfolder inuser_folderunder the filenamename.json(wherenameis the colormap name). Valid extensions are shown in the below table.Extension
Description
.jsonJSON database of the channel segment data.
.hexComma-delimited list of HEX strings.
.rgb,.txt3-4 column table of channel values.
alpha (
bool, optional) – Whether to include an opacity column for.rgband.txtfiles.
See also