From 320767fb3dd1ad5b4baacbadbaeca850e3a488b8 Mon Sep 17 00:00:00 2001
From: Philipp Rudiger
Date: Tue, 30 Aug 2016 01:37:23 +0100
Subject: [PATCH] Fix for bokeh plot updates when frame is empty
---
holoviews/plotting/bokeh/element.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/holoviews/plotting/bokeh/element.py b/holoviews/plotting/bokeh/element.py
index 66ecff6efd..1493fc7997 100644
--- a/holoviews/plotting/bokeh/element.py
+++ b/holoviews/plotting/bokeh/element.py
@@ -577,7 +577,7 @@ def current_handles(self):
return handles
previous_id = self.handles.get('previous_id', None)
- current_id = id(self.current_frame.data)
+ current_id = id(self.current_frame.data) if self.current_frame else None
for handle in self._update_handles:
if (handle == 'source' and self.dynamic and
current_id == previous_id):