☰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

change size of selected points in scatter plot

Community Support
Will_Kew
Will_Kew

I think you could adapt the CustomJS for Selections example here to do that
http://bokeh.pydata.org/en/latest/docs/user_guide/interaction/callbacks.html#customjs-for-selections

The second example changes the colour of the selected points. In your case, you could have a column in your data source for size (all set to same value initially), and then change that to a different number for selected points.

Should work?

···

On Saturday, 3 September 2016 16:07:49 UTC+1, Dkon99 wrote:

Hi, I would like to change the size of the selected points in a scatter plot. Is this possible?

ie is there a selection_size option?

Darren

⌁   Link to post

End of archived discussion · Replies are disabled