[bokeh] heatmap line color different than rect color

There are lots of ways this might be done, without knowing more about the specifics of what you are doing, I can't really do more than just list them:

* have an explicit full CDS column of data for line_color for every rect
* use a CustomJSTransform to compute the line_color based on some other CDS column
* use an entirely separate glyph with a transparent fill on top top the heat map just for the "special" rects

Probably other ways too.

Thanks,

Bryan

···

On Mar 11, 2019, at 12:17 AM, [email protected] wrote:

Hi,

Is it possible to have different "line_color" for certain "rect" in a heatmap like shown below?

<Auto Generated Inline Image 1.png>

Thank you for your help.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/d71cbb40-7780-4dd0-b5bb-bbe4f576fcf6%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
<Auto Generated Inline Image 1.png>