Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5d5700a

Browse filesBrowse files
authored
Merge pull request #26502 from QuLogic/arch-tolerances
TST: Increase some tolerances for non-x86 arches
2 parents dd09194 + 1d56e65 commit 5d5700a
Copy full SHA for 5d5700a

File tree

2 files changed

+5
-2
lines changed
Filter options

2 files changed

+5
-2
lines changed

‎lib/matplotlib/tests/test_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_axes.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2502,7 +2502,7 @@ def test_contour_hatching():
25022502

25032503
@image_comparison(
25042504
['contour_colorbar'], style='mpl20',
2505-
tol=0.02 if platform.machine() in ('aarch64', 'ppc64le', 's390x') else 0)
2505+
tol=0.54 if platform.machine() in ('aarch64', 'ppc64le', 's390x') else 0)
25062506
def test_contour_colorbar():
25072507
x, y, z = contour_dat()
25082508

‎lib/mpl_toolkits/mplot3d/tests/test_axes3d.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/mplot3d/tests/test_axes3d.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import functools
22
import itertools
3+
import platform
34

45
import pytest
56

@@ -217,7 +218,9 @@ def test_bar3d_lightsource():
217218
np.testing.assert_array_max_ulp(color, collection._facecolor3d[1::6], 4)
218219

219220

220-
@mpl3d_image_comparison(['contour3d.png'], style='mpl20')
221+
@mpl3d_image_comparison(
222+
['contour3d.png'], style='mpl20',
223+
tol=0.002 if platform.machine() in ('aarch64', 'ppc64le', 's390x') else 0)
221224
def test_contour3d():
222225
fig = plt.figure()
223226
ax = fig.add_subplot(projection='3d')

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.