matplotlib.pyplot.set_cmap
- matplotlib.pyplot.set_cmap(cmap)
Set the default colormap, and applies it to the current image if any.
- Parameters:
- cmap :
Colormapor str A colormap instance or the name of a registered colormap.
- cmap :
Set the default colormap, and applies it to the current image if any.
Colormap or strA colormap instance or the name of a registered colormap.