snuffelfiets.plotting.discrete_colorscale

snuffelfiets.plotting.discrete_colorscale(bvals=[], colors=[])

Functie to create discrete colorscale.

bvals - list of values bounding intervals/ranges of interest colors - list of rgb or hex color codes for values in [bvals[k], bvals[k+1]], 0 <= k < len(bvals)-1 returns a nonuniform discrete colorscale


Last update: 2025-03-05