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.