diff --git a/holoviews/plotting/widgets/__init__.py b/holoviews/plotting/widgets/__init__.py index 4a903de91c..e08e86d33b 100644 --- a/holoviews/plotting/widgets/__init__.py +++ b/holoviews/plotting/widgets/__init__.py @@ -196,8 +196,11 @@ def _plot_figure(self, idx): def update(self, key): - self.plot.update(key) - self.plot.push() + if not self.plot.dimensions: + self.plot.refresh() + else: + self.plot.update(key) + self.plot.push() return 'Complete' diff --git a/holoviews/plotting/widgets/widgets.js b/holoviews/plotting/widgets/widgets.js index c7ae7a5fc1..ba08ab890a 100644 --- a/holoviews/plotting/widgets/widgets.js +++ b/holoviews/plotting/widgets/widgets.js @@ -53,7 +53,7 @@ HoloViewsWidget.prototype.dynamic_update = function(current){ } this.timed = (Date.now() - this.time) * 1.1; if (msg.msg_type == "execute_result") { - if (msg.content.data['text/plain'] === "'Complete'") { + if (msg.content.data['text/plain'].includes('Complete')) { this.wait = false; if (this.queue.length > 0) { this.time = Date.now();