File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
mpl_toolkits/mplot3d/tests Expand file tree Collapse file tree 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():
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 )
25062506def test_contour_colorbar ():
25072507 x , y , z = contour_dat ()
25082508
Original file line number Diff line number Diff line change 11import functools
22import itertools
3+ import platform
34
45import 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 )
221224def test_contour3d ():
222225 fig = plt .figure ()
223226 ax = fig .add_subplot (projection = '3d' )
You can’t perform that action at this time.
0 commit comments