From 744f187a07281e7f045e1183a41690729891dbb5 Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Mon, 6 Jun 2016 20:50:32 +0100 Subject: [PATCH] Fix for dynamic Dataset.groupby --- holoviews/core/data/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/holoviews/core/data/__init__.py b/holoviews/core/data/__init__.py index 338343f97a..ff32f545be 100644 --- a/holoviews/core/data/__init__.py +++ b/holoviews/core/data/__init__.py @@ -385,7 +385,7 @@ def load_subset(*args): if np.isscalar(group): return group_type(([group],), group=self.group, label=self.label, vdims=self.vdims) - return group_type(group).reindex(group_dims) + return group_type(group.reindex(group_dims)) dynamic_dims = [d(values=list(self.interface.values(self, d.name, False))) for d in dimensions] return DynamicMap(load_subset, kdims=dynamic_dims)