Closed MarcSkovMadsen closed 1 month ago
I think we should register it as a custom transform. Maybe add more if needed.
import param
def streams_transform(obj):
if isinstance(obj, hv.streams.Buffer):
return obj.param.data
return obj
param.reactive.register_reference_transform(streams_transform)
holoviews==1.18.3
In https://discourse.holoviz.org/t/combining-periodic-and-widget-stream-to-update-plot-fails-for-widget-changes/7221 mcav has a hard time using a
Buffer
as one of two arguments to a dict stream. I believe its a bug.Minimum Reproducible Example
Workaround
use
dict(data=dfstream.param.data)
instead ofdict(data=dfstream)
.