change size of selected points in scatter plot

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

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