I want to use a color map for my matplotlib heat map. I tried doing this: myHeatMap.imshow(heatMap, extent=ext, cmap=get_cmap(cm.datad["Spectral"])) However, the Python interpreter complains in get_cmap if name in cmap_d: TypeError: unhashable type: 'dict' What is the proper way to use one of these color maps? Continue reading...