Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not drop tools in linked selections #4756

Merged
merged 2 commits into from
Dec 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion holoviews/plotting/bokeh/selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ def _build_element_layer(self, element, layer_color, layer_alpha, **opts):
merged_opts[opt] = opts[opt]

filtered = {k: v for k, v in merged_opts.items() if k in allowed}
return element.opts(backend='bokeh', clone=True, tools=['box_select'],
plot_opts = Store.lookup_options('bokeh', element, 'plot').kwargs
tools = plot_opts.get('tools', []) + ['box_select']
return element.opts(backend='bokeh', clone=True, tools=tools,
**filtered)

def _style_region_element(self, region_element, unselected_color):
Expand Down