☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

[bokeh] heatmap line color different than rect color

Community Support
Bryan
Bryan

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, giul.ge@gmail.com 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 bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
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>

⌁   Link to post

End of archived discussion · Replies are disabled