☰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

Keeping BoxSelectTool area selection box after mouse keyup

Community Support
Itamar
Itamar

I have a heatmap chart, using rect, that connected to other chart.

When using BoxSelectTool to select area, the selected area shown on the other chart.

All works fine.

By default, Bokeh makes unselected rects transparent, but I don’t want it.
What I want is to keep the squared selected area shown on the chart.

Is there a way to achieve it without drawing a new glyph manually?

If not, what is the best approach to draw a square on the area using the indices from the selection event?

Thank you!

⌁   Link to post

End of archived discussion · Replies are disabled