msmexplorer.utils.make_colormap

msmexplorer.utils.make_colormap(color_palette, N=256, gamma=1.0)

Create a linear colormap from a color palette.

Parameters:
color_palette : str, list, or dict

A color string, list of color strings, or color palette dict

Returns:
cmap : LinearSegmentedColormap

A colormap object based on color_palette using linear segments.