Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

Enable Click Policy #234

Open
elbamos opened this issue Nov 28, 2018 · 1 comment
Open

Enable Click Policy #234

elbamos opened this issue Nov 28, 2018 · 1 comment

Comments

@elbamos
Copy link

elbamos commented Nov 28, 2018

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')))

@OGuggenbuehl
Copy link

Has there been any progress on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants