[ Web Proxy ]
URL:
Viewing: https://matplotlib.org/stable/api/_as_gen/../_as_gen/../_as_gen/matplotlib.pyplot.set_cmap.html [Back]  [Original]

matplotlib.pyplot.set_cmap — Matplotlib 3.11.2 documentation
Back to top
Search the docs ...:

matplotlib.pyplot.set_cmap#

matplotlib.pyplot.set_cmap(cmap)[source]#

Set the default colormap, and applies it to the current image if any.

Parameters:
cmapColormap or str

A colormap instance or the name of a registered colormap.

See also

colormaps
get_cmap

Web Proxy Viewer  |  New URL  |  Original Page