You are reading an old version of the documentation (v2.1.0). For the latest version see https://matplotlib.org/stable/
matplotlib
Fork me on GitHub


Travis-CI:

This Page

matplotlib.pyplot.viridis

matplotlib.pyplot.viridis()

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