def get_cmap(cmap):
    rgb_vals = getattr(Palette, cmap, None)
    if rgb_vals:
        return colors.ListedColormap(rgb_vals, name=cmap)
    return cm.get_cmap(cmap)
Returns the view that should receive any actions.
dataset/ETHPy150Open ioam/holoviews/holoviews/plotting/bokeh/util.py/get_cmap--crossover with--dataset/ETHPy150Open guillermooo/Vintageous/vi/core.py/ViCommandMixin._view