Add option to set active tools
See original GitHub issueI’d like the ability to set active tools as a plot option in holoviews. The current process of creating hook seems clunky for something that I’m sure many users would like to do.
The hook snippet:
def set_active_tool(plot, element):
plot.state.toolbar.active_scroll = plot.state.tools[2]
hv.Curve([1, 2, 3]).options(finalize_hooks=[set_active_tool])
Discussed originally here https://stackoverflow.com/questions/50415434/how-to-set-active-tools-in-holoviews/50416512#50416512
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Add option to set active tools · Issue #2730 · holoviz/holoviews
I'd like the ability to set active tools as a plot option in holoviews. The current process of creating hook seems clunky for...
Read more >How to set active tools in Holoviews - Stack Overflow
HoloViews now has an explicit option to set the active tool(s), called active_tools which accepts a list of tool names or instances, ...
Read more >Configuring plot tools — Bokeh 2.4.3 Documentation
Click/Tap tools# ... Use these tools by tapping (on touch devices) or left-clicking (on mouse devices). Only one click/tap tool may be active...
Read more >Add Tools to Existing Sandboxes - Oracle Help Center
Click Navigator > Configuration > Sandboxes. · Click the name of the sandbox you want to add tools to. · In the Active...
Read more >Tool System — Blender Manual
Tools are accessed from the Toolbar. This is a general introduction to tools. Individual tools have their own documentation. There can only be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This doesn’t appear to work with DynamicMaps. Can you set the options below for overlayed DynamicMaps?
active_drag active_scroll active_tap active_inspect
thank you @philippjfr