I would like my hvPlot and HoloView plots to always autohide
the toolbar and reset zoom on double click.
I can achieve this manually
import hvplot.pandas
from bokeh.sampledata.autompg import autompg_clean as df
from bokeh.events import DoubleTap
from bokeh.models import CustomJS
def hook(plot, element):
plot = plot.handles["plot"]
plot.toolbar.autohide = True
plot.js_on_event(DoubleTap, CustomJS(args=dict(p=plot), code="p.reset.emit()"))
df.hvplot.bivariate("accel", "mpg", cut=False).opts(hooks=[hook]).opts(active_tools=["box_zoom"])
But how do I configure hvPlot and HoloViews to always automatically apply these .opts
for the bokeh backend?