File tree 2 files changed +5
-2
lines changed
mpl_toolkits/mplot3d/tests
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2502,7 +2502,7 @@ def test_contour_hatching():
2502
2502
2503
2503
@image_comparison (
2504
2504
['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 )
2506
2506
def test_contour_colorbar ():
2507
2507
x , y , z = contour_dat ()
2508
2508
Original file line number Diff line number Diff line change 1
1
import functools
2
2
import itertools
3
+ import platform
3
4
4
5
import pytest
5
6
@@ -217,7 +218,9 @@ def test_bar3d_lightsource():
217
218
np .testing .assert_array_max_ulp (color , collection ._facecolor3d [1 ::6 ], 4 )
218
219
219
220
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 )
221
224
def test_contour3d ():
222
225
fig = plt .figure ()
223
226
ax = fig .add_subplot (projection = '3d' )
You can’t perform that action at this time.
0 commit comments