Skip to content

Commit f5a09a7

Browse files
timhoffmrcomer
andauthored
Update lib/matplotlib/tests/test_collections.py
Co-authored-by: Ruth Comer <10599679+rcomer@users.noreply.github.com>
1 parent dd96cfe commit f5a09a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_collections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ def test_blended_collection_autolim():
916916
# check that the x data limits are updated to include the LineCollection
917917
np.testing.assert_allclose((ax.dataLim.xmin, ax.dataLim.xmax), (1, 5))
918918
# check that the y data limits are not updated (because they are not transData)
919-
np.testing.assert_allclose((ax.dataLim.ymin, ax.dataLim.ymax), (0.4, 0.6))
919+
np.testing.assert_allclose((ax.dataLim.ymin, ax.dataLim.ymax), (data_ymin, data_ymax))
920920

921921

922922
def test_singleton_autolim():

0 commit comments

Comments
 (0)