I’m currently using the color mapper like this:
# color mapper mapper = LinearColorMapper(palette=RdBu[::-1], low=-1, high=1, nan_color='lightgray') # plot plot = figure(...) plot.rect(x="x", y="y", fill_color=transform("value", mapper))
The thing is that my
nan values are split to two different cases and I need them to be colored differently.
I was thinking, if it’s possible somehow to get the actual color values from the transform, then I could create a “color” column in the data source and handle the
nan colors myself.
Is this possible? If not, any other ideas?