Skip to content

Commit

Permalink
Merge pull request #1050 from basnijholt/patch-2
Browse files Browse the repository at this point in the history
Accept lists in Path
  • Loading branch information
philippjfr committed Feb 23, 2017
2 parents 9f777d3 + fce9bc4 commit e981ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/element/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Path(Element2D):

def __init__(self, data, **params):
if isinstance(data, tuple):
x, y = data
x, y = map(np.asarray, data)
if y.ndim == 1:
y = np.atleast_2d(y).T
if len(x) != y.shape[0]:
Expand Down

0 comments on commit e981ed1

Please sign in to comment.