Skip to content

Commit

Permalink
Avoid warning in batched DynamicMaps
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Oct 14, 2016
1 parent 69d0df5 commit 324c918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/plotting/bokeh/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,7 @@ def update_frame(self, key, ranges=None, element=None, empty=False):
_, el = items.pop(idx)
subplot.update_frame(key, ranges, element=el, empty=(empty or all_empty))

if isinstance(self.hmap, DynamicMap) and items:
if not self.batched and isinstance(self.hmap, DynamicMap) and items:
self.warning("Some Elements returned by the dynamic callback "
"were not initialized correctly and could not be "
"rendered.")
Expand Down

0 comments on commit 324c918

Please sign in to comment.