Skip to main content

Variable: colormaps

const colormaps: object

Defined in: index.ts:23

All built-in colormaps

Type declaration

bluered()

bluered: (level_min, level_max, n_colors) => ColorMap

Create a diverging blue/red colormap, where blue corresponds to the lowest value and red corresponds to the highest value

Parameters

ParameterTypeDescription
level_minnumberThe lowest value in the color map
level_maxnumberThe highest value in the color map
n_colorsnumberThe number of colors

Returns

ColorMap

a Colormap object

nws_storm_clear_refl

nws_storm_clear_refl: ColorMap

pw_cape

pw_cape: ColorMap

pw_speed500mb

pw_speed500mb: ColorMap

pw_speed850mb

pw_speed850mb: ColorMap

pw_t2m

pw_t2m: ColorMap

pw_td2m

pw_td2m: ColorMap

redblue()

redblue: (level_min, level_max, n_colors) => ColorMap

Create a diverging red/blue colormap, where red corresponds to the lowest value and blue corresponds to the highest value

Parameters

ParameterTypeDescription
level_minnumberThe lowest value in the color map
level_maxnumberThe highest value in the color map
n_colorsnumberThe number of colors

Returns

ColorMap

a Colormap object