I cannot find any way in bokeh to get the color for a value from a colormap.
My particular issue is:
I’m plotting rectangles, and I need some of them to be colored from a colormap, others to be colored with listed values.
Turning everything into a list of explicitly stated colors seems like the logical thing, but for that I need to get some of the colors for the rectangles from the colormap.
Another way would be to call .rect() twice, treating the points as separate datasets. But that can be, and in my case would be, quite inconvenient.