You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 2.1.1.post1120+g407a460
matplotlib
Fork me on GitHub

Table Of Contents

This Page

matplotlib.pyplot.flag

matplotlib.pyplot.flag()

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

Examples using matplotlib.pyplot.flag