Handle missing streams attribute on certain plot classes
@@ -212,7 +212,7 @@ class Plot(param.Parameterized):
thread_id != state._thread_id)):
# If we do not have the Document lock, schedule refresh as callback
self._triggering += [s for p in self.traverse(lambda x: x, [Plot])
- for s in p.streams if s._triggering]
+ for s in getattr(p, 'streams', []) if s._triggering]
if self.document.session_context:
self.document.add_next_tick_callback(self.refresh)
return
