Skip to content

Commit

Permalink
Ensure splitting MultiInterface does not expand dictionary data
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Oct 20, 2017
1 parent 1711099 commit 1b2602d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion holoviews/core/data/multipath.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,10 @@ def split(cls, dataset, start, end, datatype, **kwargs):
elif datatype == 'dataframe':
obj = ds.dframe(**kwargs)
elif datatype == 'columns':
obj = ds.columns(**kwargs)
if ds.interface.datatype == 'dictionary':
obj = dict(d)
else:
obj = ds.columns(**kwargs)
else:
raise ValueError("%s datatype not support" % datatype)
objs.append(obj)
Expand Down

0 comments on commit 1b2602d

Please sign in to comment.