matplotlib.pyplot.
spectral
set the default colormap to spectral and apply to current image if any. See help(colormaps) for more information