pynitride.visual.bands module

pynitride.visual.bands.make_colormap(seq)

Return a LinearSegmentedColormap seq: a sequence of floats and RGB-tuples. The floats should be increasing and in the interval (0,1).

From this StackExchange answer.

pynitride.visual.bands.white2red = <matplotlib.colors.LinearSegmentedColormap object>

A colormap which goes from white to red, as opposed to the built-in matplotlib ‘Reds’ colormap which goes from faint pink to red.