Function: getColorscale()
ts
function getColorscale(name): ColorscaleStops | undefined;The stops of a named colorscale ('Viridis', 'viridis_r'), or undefined for unknown names. The result is shared: do not mutate it.
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
ColorscaleStops | undefined