How do I control which tools are used / active in a holoviews
plot with the bokeh
backend? I've seen this SO answer, but that only adds a new active tool; it doesn't keep any other tools (e.g. pan) from being active.
For a specific example, suppose I only want the hover tool. I would try doing this:
import holoviews as hv
hv.extension("bokeh")
hv.Curve([1, 2, 3]).opts(tools=["hover"])
but then I end up with a plot that has hover in addition to the default tools. How do I specify the list of all tools that I want to use, so that no tools are used that aren't in that list?
Similarly, how do I specify the list of all active tools? E.g.
import holoviews as hv
hv.extension("bokeh")
hv.Curve([1, 2, 3]).opts(tools=["hover"], active_tools=[])
gives me both pan and hover being active; I want hover to be the only tool but no tool to be active.