You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 2.0.0b1.post7580.dev0+ge487118
matplotlib
Fork me on GitHub

Table Of Contents

This Page

matplotlib.pyplot.gray

matplotlib.pyplot.gray()

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

Examples using matplotlib.pyplot.gray