Adding select tool for a line plot

I’m trying to modify this example http://bokeh.pydata.org/en/0.10.0/docs/user_guide/interaction.html#customjs-for-selections to be able to select from a line plot and redraw it (The example uses a scatter plot). However, the callback doesn’t draw anything in the new window when I use a line plot.

Is there a way I can do this?

I think we should be able to select the line objects by adding a callback to one of the existing select tools. Let’s try this!

If other folks have input, it’d be great to hear.

···

On Tuesday, October 27, 2015 at 4:10:16 PM UTC-7, Proxima DasMohapatra wrote:

I’m trying to modify this example http://bokeh.pydata.org/en/0.10.0/docs/user_guide/interaction.html#customjs-for-selections to be able to select from a line plot and redraw it (The example uses a scatter plot). However, the callback doesn’t draw anything in the new window when I use a line plot.

Is there a way I can do this?