smpl.plot.set_cmap

smpl.plot.set_cmap(cmap)[source]

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

Parameters

cmap~matplotlib.colors.Colormap or str

A colormap instance or the name of a registered colormap.

See Also

colormaps matplotlib.cm.register_cmap matplotlib.cm.get_cmap