Skip to content

Commit

Permalink
Update test with new correct behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaskom committed Oct 14, 2022
1 parent c0e8c0a commit 16dcd28
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/_marks/test_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,9 @@ def test_single_orient_value(self):
y = [1, 2, 3]
p = Plot(x, y).add(Lines()).plot()
lines, = p._figure.axes[0].collections
paths, = lines.get_paths()
assert paths.vertices.shape == (0, 2)
verts = lines.get_paths()[0].vertices.T
assert_array_equal(verts[0], x)
assert_array_equal(verts[1], y)


class TestRange:
Expand Down

0 comments on commit 16dcd28

Please sign in to comment.