import holoviews as hv
import panel as pn
hv.extension("bokeh")
pn.extension()
x = [0, 1, 2]
y = [3, 4, 5]
title = "Title"
widget = pn.widgets.TextInput(value=title)
plot = hv.Curve((x, y)).opts(xlabel=title)
link = widget.jslink(plot, value="plot.xaxis.axis_label")
pn.Column(widget, plot)
Wondering why this doesn’t work