Skip to content

Commit 1b11a17

Browse files
committed
fix(comment): #28701 simplify test @timhoffm #28702 (comment)
1 parent fd9072c commit 1b11a17

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/matplotlib/tests/test_collections.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -836,12 +836,10 @@ def test_fbp_collection_set_data(fig_test, fig_ref):
836836
t = np.linspace(0, 16)
837837
f1 = np.sin(t)
838838
f2 = f1 + 0.2
839-
f3 = f2.copy()
840-
f3[10], f3[20] = f3[20], f3[10]
841839

842840
fig_ref.subplots().fill_between(t, f1, f2)
843841

844-
coll = fig_test.subplots().fill_between(t, f1, f3)
842+
coll = fig_test.subplots().fill_between(t, -1, 1.2)
845843
coll.set_data(t, f1, f2)
846844

847845

0 commit comments

Comments
 (0)