Small fix for DataConversions to distribution types
@@ -99,6 +99,9 @@ class DataConversion(object):
elif groupby and not isinstance(groupby, list):
groupby = [groupby]
+ if new_type._1d:
+ selected = self._element
+ else:
selected = self._element.reindex(groupby+kdims, vdims)
params = {'kdims': [selected.get_dimension(kd, strict=True) for kd in kdims],
'vdims': [selected.get_dimension(vd, strict=True) for vd in vdims],
