Note

You are not reading the most up to date version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

illustrate_colormap

gammapy.image.illustrate_colormap(cmap, **kwargs)[source]

Illustrate color distribution and perceived luminance of a colormap.

Parameters:
cmap : str or Colormap

Colormap name or instance.

kwargs : dicts

Keyword arguments passed to grayify_colormap.