matplotlib.pyplot
matplotlib.pyplot.
set_cmap
Set the default colormap, and applies it to the current image if any.
cmap : Colormap or str
Colormap
A colormap instance or the name of a registered colormap.
See also
colormaps, matplotlib.cm.register_cmap, matplotlib.cm.get_cmap
colormaps
matplotlib.cm.register_cmap
matplotlib.cm.get_cmap