Allowing clone to modify the constant DynamicMap callback parameter
@@ -779,6 +779,7 @@ class DynamicMap(HoloMap):
# Ensure the clone references this object to ensure
# stream sources are inherited
if clone.callback is self.callback:
+ with util.disable_constant(clone):
clone.callback = clone.callback.clone(inputs=[self],
link_inputs=True)
return clone
