opened 10:26AM - 05 Apr 22 UTC
#### ALL software version info
python : 3.9.7.final.0
python-bits … : 64
OS : Windows
OS-release : 10
Version : 10.0.19043
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel
byteorder : little
holoviews: '1.14.8'
bokeh: '2.4.2'
#### Description of expected behavior and the observed behavior
I expect the code below to run and update the sankey plot when clicking the button. This was working in an earlier version of holoviews.
#### Complete, minimal, self-contained example code that reproduces the issue
```
import pandas as pd
from bokeh.models import Button
from bokeh.plotting import curdoc
import holoviews as hv
hv.extension('bokeh')
data = pd.DataFrame({'Source': ['A', 'A', 'A', 'B'],
'Target': [' A', ' B', 'Other', ' B'],
'Number': [10, 10, 5, 5]})
def plot_sankey(data):
"""Callback for dynamic holoviews sankey plot"""
sankey = hv.Sankey(data)
return sankey
def update_sankey(_):
stream.send(data[data["Source"] != data["Target"].str[1:]])
stream = hv.streams.Pipe(data=data)
dmap = hv.DynamicMap(plot_sankey, streams=[stream])
sankey_plot = hv.render(dmap)
btn = Button(label='+1', name="button")
btn.on_click(update_sankey)
curdoc().add_root(sankey_plot)
curdoc().add_root(btn)
```
#### Stack traceback and/or browser JavaScript console output
Error in browser:

#### Screenshots or screencasts of the bug in action
After start server:

Click +1 button. After:

Now hover over the sankey and the sankey just disappears
_____
Expected output:
