☰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

Possible bug with Box & Lasso select

Community Support
Sebastien_Roche
Sebastien_Roche

In fact you just selected what you selected, and you’ll only get points within your selection if you try to retrieve the data inside the selection.

It’s just that when you select a region where a group of scatter points have 0 points, the color of those points won’t change, but they are not “selected”.

You can still safely use the
cb_obj.get(‘selected’)[‘1d’].indices

``

in a callback to get your selected data.

It’s visually inconvenient though

⌁   Link to post
Bryan
Bryan

Guessing it's this known issue:

  https://github.com/bokeh/bokeh/issues/2136

Bryan

···

On Jan 12, 2017, at 7:20 PM, sebastienroche11@gmail.com wrote:

In fact you just selected what you selected, and you'll only get points within your selection if you try to retrieve the data inside the selection.

It's just that when you select a region where a group of scatter points have 0 points, the color of those points won't change, but they are not "selected".

You can still safely use the
cb_obj.get('selected')['1d'].indices
in a callback to get your selected data.

It's visually inconvenient though

--
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/dd198d1e-9319-434b-9d11-56245fd13fca%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post

End of archived discussion · Replies are disabled