From f11401b215b13f7ce20bb16214b9e901d681d33d Mon Sep 17 00:00:00 2001 From: Daniel Stephan Date: Fri, 10 Feb 2017 13:55:19 +0100 Subject: [PATCH] Fixed group and label assignment bug in Element_Operation.__call__ --- holoviews/core/operation.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/holoviews/core/operation.py b/holoviews/core/operation.py index 4a3c2c9e7e..d7aaf446ee 100644 --- a/holoviews/core/operation.py +++ b/holoviews/core/operation.py @@ -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