question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add option to set active tools

See original GitHub issue

I’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:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pjvallacommented, Jun 25, 2019

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

0reactions
kwunlyoucommented, Oct 17, 2019

thank you @philippjfr

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found