Function: reverseColormap()
ts
function reverseColormap(spec?): (t) => RGB;Defined in: color/colormap.ts:221
The reverse of a colormap — high values take the low end's colour.
Parameters
| Parameter | Type | Default value |
|---|---|---|
spec | ColormapSpec | "viridis" |
Returns
(t) => RGB