Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5f2a416

Browse files
committed
Accept some baseline changes.
In particular, the ones for mplot3d seem correct (the contours are now drawn from bottom to top).
1 parent 37bce68 commit 5f2a416

17 files changed

Lines changed: 2652 additions & 5054 deletions

File tree

Binary file not shown.

lib/matplotlib/tests/baseline_images/test_axes/contour_colorbar.svg

Lines changed: 220 additions & 704 deletions
Loading

lib/matplotlib/tests/baseline_images/test_axes/contour_hatching.svg

Lines changed: 111 additions & 117 deletions
Loading
-1.92 KB
Loading

lib/matplotlib/tests/baseline_images/test_lines/line_collection_dashes.svg

Lines changed: 477 additions & 582 deletions
Loading
Binary file not shown.
74.4 KB
Loading

lib/matplotlib/tests/baseline_images/test_patheffects/collection.svg

Lines changed: 1701 additions & 3479 deletions
Loading

lib/matplotlib/tests/baseline_images/test_patheffects/patheffect2.svg

Lines changed: 133 additions & 161 deletions
Loading

lib/matplotlib/tests/test_axes.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2348,7 +2348,7 @@ def contour_dat():
23482348
return x, y, z
23492349

23502350

2351-
@image_comparison(['contour_hatching'], remove_text=True, style='mpl20', tol=0.06)
2351+
@image_comparison(['contour_hatching'], remove_text=True, style='mpl20')
23522352
def test_contour_hatching():
23532353
x, y, z = contour_dat()
23542354
fig, ax = plt.subplots()
@@ -2357,7 +2357,9 @@ def test_contour_hatching():
23572357
extend='both', alpha=0.5)
23582358

23592359

2360-
@image_comparison(['contour_colorbar'], style='mpl20', tol=1.6)
2360+
@image_comparison(
2361+
['contour_colorbar'], style='mpl20',
2362+
tol=0.02 if platform.machine() in ('aarch64', 'ppc64le', 's390x') else 0)
23612363
def test_contour_colorbar():
23622364
x, y, z = contour_dat()
23632365

0 commit comments

Comments
 (0)