monet.plots.normval

monet.plots.normval(vmin, vmax, cmap)

Create a BoundaryNorm for discrete colormaps with specific bounds.

Parameters:
  • vmin (float) – Minimum value for the colormap.

  • vmax (float) – Maximum value for the colormap.

  • cmap (matplotlib.colors.Colormap) – The colormap to create bounds for.

Returns:

A boundary norm with evenly spaced bounds from vmin to vmax in steps of 5.0.

Return type:

matplotlib.colors.BoundaryNorm