1

How do I have the chart display without any engagement buttons clicked on?

Would like the top button (see picture), which is currently defaulting on, to default off.

How to have this not automatically turn on?

gumdropsteve
  • 70
  • 1
  • 14
  • 1
    See also: https://stackoverflow.com/questions/50415434/how-to-set-active-tools-in-holoviews and https://stackoverflow.com/questions/56992160/how-to-control-active-tools-in-holoviews-with-bokeh-backend – Sander van den Oord May 06 '20 at 05:25

1 Answers1

1

Currently Holoviews does not expose this option directly, so you have to define a custom hook which modifies the underlying bokeh model, it should look something like this:

def tools(plot, element):
    plot.handles['plot'].toolbar.active_drag = None

hv.Curve([]).opts(hooks=[tools])
philippjfr
  • 3,997
  • 14
  • 15