
I failed to use matplotlib colormap in bokeh image
When I try:
from matplotlib import cm
cmap = cm.get_cmap('hot', 256)
p.image(image='image', x=minX_dep, y=minY_dep,
dw=(maxX_dep-minX_dep ), dh=( maxY_dep-minY_dep) ,
global_alpha=0.5 , source=source,
color_mapper=cmap) # cmap doesn't fit here
how can I use matplotlib’s cmap in bokeh’s image?
OR
Is there any other solution to use colorpalette(hot) ?
regards


