colors

File purpose: tools related to colors (see also: colorbar.py)

End-users: see help(PlasmaCalcs.get_cmap); you’ll probably just use that function.

Functions

cmap([based_on, N, colors, name, reversed, ...])

Get a Colormap instance, possibly based on a default colormap from matplotlib.

get_cmap([based_on, N, colors, name, ...])

Get a Colormap instance, possibly based on a default colormap from matplotlib.

Classes

BaseColormap(*args_super, **kw_super)

matplotlib.colors.Colormap class with more methods, and some properties.

Colormap(*args_super[, under, over, bad])

matplotlib.colors.ListedColormap with some extra methods.

ColormapExtremes(under, over, bad)