module, cmap='YlOrBr', start=None, stop=None)[source]

Return evenly spaced intervals of a given colormap cmap.

Colormaps listed in REVERSE_CMAP will be cycled in reverse order. Certain colormaps have pre-specified color ranges in CMAP_RANGE. These module variables ensure that colors cycle from light to dark and light colors are not too close to white.


length – int the number of colors used before cycling back to first color. When

length is large (> ~10), it is difficult to distinguish between successive lines because successive colors are very similar. :param cmap: str name of a matplotlib colormap (see