@@ -240,7 +240,7 @@ def test_matshow(fig_test, fig_ref):
240240
241241
242242@image_comparison ([f'formatter_ticker_{ i :03d} .png' for i in range (1 , 6 )], style = 'mpl20' ,
243- tol = 0.03 if sys . platform == 'darwin ' else 0 )
243+ tol = 0 if platform . machine () == 'x86_64 ' else 0.03 )
244244def test_formatter_ticker ():
245245 import matplotlib .testing .jpl_units as units
246246 units .register ()
@@ -5611,7 +5611,7 @@ def test_marker_styles():
56115611
56125612
56135613@image_comparison (['rc_markerfill.png' ], style = 'mpl20' ,
5614- tol = 0.033 if sys . platform == 'darwin ' else 0 )
5614+ tol = 0 if platform . machine () == 'x86_64 ' else 0.033 )
56155615def test_markers_fillstyle_rcparams ():
56165616 fig , ax = plt .subplots ()
56175617 x = np .arange (7 )
@@ -5634,7 +5634,7 @@ def test_vertex_markers():
56345634
56355635
56365636@image_comparison (['vline_hline_zorder.png' , 'errorbar_zorder.png' ], style = 'mpl20' ,
5637- tol = 0.02 if sys . platform == 'darwin ' else 0 )
5637+ tol = 0 if platform . machine () == 'x86_64 ' else 0.02 )
56385638def test_eb_line_zorder ():
56395639 x = list (range (10 ))
56405640
@@ -6666,7 +6666,7 @@ def test_pie_linewidth_0():
66666666
66676667
66686668@image_comparison (['pie_center_radius.png' ], style = 'mpl20' ,
6669- tol = 0.01 if sys . platform == 'darwin ' else 0 )
6669+ tol = 0 if platform . machine () == 'x86_64 ' else 0.01 )
66706670def test_pie_center_radius ():
66716671 # The slices will be ordered and plotted counter-clockwise.
66726672 labels = 'Frogs' , 'Hogs' , 'Dogs' , 'Logs'
@@ -9857,7 +9857,7 @@ def test_zorder_and_explicit_rasterization():
98579857
98589858
98599859@image_comparison (["preset_clip_paths.png" ], remove_text = True , style = "mpl20" ,
9860- tol = 0.01 if sys . platform == 'darwin ' else 0 )
9860+ tol = 0 if platform . machine () == 'x86_64 ' else 0.01 )
98619861def test_preset_clip_paths ():
98629862 fig , ax = plt .subplots ()
98639863
0 commit comments