Skip to content

Commit

Permalink
Readd multi interface datatype if list supplied to Path
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jan 17, 2019
1 parent 497035d commit 41cfc9e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions holoviews/element/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ def __init__(self, data, kdims=None, vdims=None, **params):
isinstance(d, tuple) and all(isscalar(v) for v in d)
for d in data))):
datatype = [dt for dt in datatype if dt != 'multitabular']
elif isinstance(data, list) and 'multitabular' not in datatype:
datatype = datatype + ['multitabular']

super(Path, self).__init__(data, kdims=kdims, vdims=vdims,
datatype=datatype, **params)

Expand Down

0 comments on commit 41cfc9e

Please sign in to comment.