Skip to content

Commit

Permalink
Fixed dynamic groupby parameter passing
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jul 18, 2016
1 parent 5fd7ef4 commit b80437c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions holoviews/core/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ def groupby(self, dimensions=[], container_type=HoloMap, group_type=None,

if dynamic:
group_dims = [d.name for d in self.kdims if d not in dimensions]
group_kwargs = dict(util.get_param_values(self))
group_kwargs.update(kwargs)
group_kwargs = dict(util.get_param_values(self), **kwargs)
group_kwargs['kdims'] = [self.get_dimension(d) for d in group_dims]
def load_subset(*args):
constraint = dict(zip(dim_names, args))
group = self.select(**constraint)
Expand Down

0 comments on commit b80437c

Please sign in to comment.