rbokeh icon indicating copy to clipboard operation
rbokeh copied to clipboard

Enable Click Policy

Open elbamos opened this issue 6 years ago • 1 comments

It would be good to be able to use the bokeh click_policy functionality, which lets you click on the legend to hide and show classes. See https://bokeh.pydata.org/en/latest/docs/user_guide/interaction/legends.html

In terms of where to put this in the interface, if there isn't going to be a distinct legend function, then I think the way the API should look is that in the call to figure, the user can specify a list() of additional options which get converted to json and passed to the bokeh js.

So to add click policy the call might be figure([some stuff], options=list(legend=list(click_policy='hide')))

elbamos avatar Nov 28 '18 18:11 elbamos

Has there been any progress on this?

OGuggenbuehl avatar Sep 06 '19 12:09 OGuggenbuehl