Skip to content

Commit

Permalink
Small fix for stream sources on batched plots
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Apr 16, 2017
1 parent ce4c476 commit 75d6261
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions holoviews/plotting/bokeh/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ def _construct_callbacks(self):
zorders = list(range(self.zorder, self.zorder+len(self.hmap.last)))
else:
zorders = [self.zorder]

if isinstance(self, OverlayPlot) and not self.batched:
sources = []
if not self.static or isinstance(self.hmap, DynamicMap):
sources = [(i, o) for i, inputs in self.stream_sources.items()
for o in inputs if i in zorders]
Expand Down

0 comments on commit 75d6261

Please sign in to comment.