Is there any way to include LinearColorMapper object in ColumnDataSource,
then manipulate image and its color ?
Here is the code I tried
source = ColumnDataSource(
data=dict(image = [data[::-1,:]] ))
cmapper = LinearColorMapper(my_color, low=0.005, high=0.86, nan_color=“rgba(255, 255, 255, 0.0)”,
low_color=‘rgba(255, 255, 255, 0.5)’ )
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=cmapper)
regards