Skip to content
Browse files

Added check to ensure empty subplot is not added

  • Loading branch information...
philippjfr committed May 8, 2018
1 parent 253a31b commit be17880787114f804482b7040944045d5d62ee4a
Showing with 4 additions and 0 deletions.
  1. +4 −0 holoviews/plotting/
@@ -1042,6 +1042,8 @@ def _create_dynamic_subplots(self, key, items, ranges, **init_kwargs):

for k, obj in items:
subplot = self._create_subplot(k, vmaps[keys.index(k)], [], ranges)
if subplot is None:
self.subplots[k] = subplot
subplot.initialize_plot(ranges, **init_kwargs)
subplot.update_frame(key, ranges, element=obj)
@@ -1074,6 +1076,8 @@ def get_extents(self, overlay, ranges):
subplots = self.subplots.items()
for key, subplot in subplots:
found = False
if subplot is None:
layer =, None)
if isinstance(self.hmap, DynamicMap) and layer is None:
for _, layer in items:

0 comments on commit be17880

Please sign in to comment.
You can’t perform that action at this time.