Skip to content

Commit

Permalink
Merge pull request #1119 from drs251/element_operation_fix_2
Browse files Browse the repository at this point in the history
Fixed group and label assignment bug in Element_Operation.__call__
  • Loading branch information
philippjfr authored Feb 10, 2017
2 parents 08f4d8b + f11401b commit 2654bd5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions holoviews/core/operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,7 @@ def __call__(self, element, **params):
elif isinstance(element, HoloMap):
mapped_items = [(k, self._process(el, key=k))
for k, el in element.items()]
refval = mapped_items[0][1]
processed = element.clone(mapped_items,
group=refval.group,
label=refval.label)
processed = element.clone(mapped_items)
else:
raise ValueError("Cannot process type %r" % type(element).__name__)
return processed
Expand Down

0 comments on commit 2654bd5

Please sign in to comment.