Apart from the built-in colormaps defined in the colormaps reference (and their reversed maps, with '_r' appended to their name), custom colormaps can also be defined. The key is the matplotlib.cm module.
The below example defines a very simple colormap using cm.register_cmap, containing a single c...