From 16dcd286d589d28c149ab3ed0d96e532b38d5343 Mon Sep 17 00:00:00 2001 From: Michael Waskom Date: Fri, 14 Oct 2022 07:08:25 -0400 Subject: [PATCH] Update test with new correct behavior --- tests/_marks/test_line.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/_marks/test_line.py b/tests/_marks/test_line.py index d6849fce06..1339b85945 100644 --- a/tests/_marks/test_line.py +++ b/tests/_marks/test_line.py @@ -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: