diff --git a/lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/streamplot.png b/lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/streamplot.png index 2f72d9518..6911b512b 100644 Binary files a/lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/streamplot.png and b/lib/cartopy/tests/mpl/baseline_images/mpl/test_mpl_integration/streamplot.png differ diff --git a/lib/cartopy/tests/mpl/test_mpl_integration.py b/lib/cartopy/tests/mpl/test_mpl_integration.py index dd04f0984..add8d6b16 100644 --- a/lib/cartopy/tests/mpl/test_mpl_integration.py +++ b/lib/cartopy/tests/mpl/test_mpl_integration.py @@ -875,7 +875,8 @@ def test_barbs_1d_transformed(): @pytest.mark.natural_earth @pytest.mark.mpl_image_compare( filename='streamplot.png', style='mpl20', - tolerance=42 if MPL_VERSION < parse_version('3.2') else 0.54) + tolerance=(42 if MPL_VERSION.release[:2] < (3, 2) else + 9.77 if MPL_VERSION.release[:2] < (3, 5) else 0.5)) def test_streamplot(): x = np.arange(-60, 42.5, 2.5) y = np.arange(30, 72.5, 2.5)