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

Provide a cleaner method of specifying default plot tools #6408

Open
stefanmeili opened this issue Oct 10, 2024 · 0 comments
Open

Provide a cleaner method of specifying default plot tools #6408

stefanmeili opened this issue Oct 10, 2024 · 0 comments

Comments

@stefanmeili
Copy link

I really dislike the default scroll to zoom option in holoviews. I find it hijacks scrolling in my notebooks and messes up my plots instead of being useful.

I've found it is possible to disable this by setting:
hv.plotting.bokeh.element.ElementPlot.active_tools = ['pan']

per this thread:
https://discourse.holoviz.org/t/best-way-to-turn-off-zoom-tool-by-default/5590

However, it's a little verbose and I have to track down the last notebook I used it in every time. I'd really appreciate an easier to use option such as:
hv.extension('bokeh', active_tools = ['pan'])

or:
hv.output(active_tools = ['pan'])

or
hv.opts.defaults(active_tools=['pan'])

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

No branches or pull requests

1 participant