def get_cmap(name=None, lut=None):
if name is None: name = mpl.rcParams['<STR_LIT>']<EOL>if lut is None: lut = mpl.rcParams['<STR_LIT>']<EOL>assert(name in datad.keys())<EOL>return colors.LinearSegmentedColormap(name,  datad[name], lut)<EOL>
Get a colormap instance, defaulting to rc values if *name* is None