matplotlib.pyplot.set_cmap#

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

Legt die Standard-Colormap fest und wendet sie auf das aktuelle Bild an, falls vorhanden.

Parameter:
cmapColormap oder str

Eine Colormap-Instanz oder der Name einer registrierten Colormap.

Siehe auch

colormaps
get_cmap