☰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

Bokehjs plot.select gives invalid selector error

Community Supportbokehjs
mese79
mese79

Hi
How should I use plot.select in bokehjs (I mean javascript not python)?
In bokehjs when i’m trying to select glyphs or … like:

plot.select('name')

It works but something like:

plot.select({name: 'name', type: Line})

It gives invalid selector error!

⌁   Link to post
Bryan
Bryan

Looking at the actual definition of select on the BokehJS side it looks like you can only do either:

plot.select('some_name')  # get all objects with name = 'some_name'

or

plot.select(Line)  # get all objects of type Line

If you’d like to propose expanding the capability on the BokehJS side, a GitHub issue would be appropriate.

⌁   Link to post

End of archived discussion · Replies are disabled