PyDDM.utils.view_colormap

PyDDM.utils.view_colormap

view_colormap(cmap, axes=None, qminmax=None)

Colormap showing wavenumber range

For plots of parameter (like decay time) versus q, will generate the colormap showing color of q.

Parameters
  • cmap (matplotlib colormap) – For example, plt.get_cmap(“viridis”)

  • axes (optional) – Default is None

  • qminmax (optional) – Default is None