viz.colormaps.ColormapOptions
export interface ColormapOptions {
/** Colormap name */
name: ColormapName;
/** Reverse the colormap direction */
reverse?: boolean;
/** For categorical: number of distinct colors */
numCategories?: number;
}name(ColormapName)- – Colormap name
reverse(boolean)optional- – Reverse the colormap direction
numCategories(number)optional- – For categorical: number of distinct colors