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

Skip to content

Commit 32f8c0f

Browse files
committed
Adjust tol in test_axes:sepcgram to pass on my mac
1 parent f4ff4c8 commit 32f8c0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2766,7 +2766,7 @@ def test_subplot_key_hash():
27662766
@image_comparison(baseline_images=['specgram_freqs',
27672767
'specgram_freqs_linear'],
27682768
remove_text=True, extensions=['png'],
2769-
tol=0.07 if on_win else 0.03)
2769+
tol=0.07)
27702770
def test_specgram_freqs():
27712771
'''test axes.specgram in default (psd) mode with sinusoidal stimuli'''
27722772
n = 10000
@@ -2867,7 +2867,7 @@ def test_specgram_noise():
28672867
@image_comparison(baseline_images=['specgram_magnitude_freqs',
28682868
'specgram_magnitude_freqs_linear'],
28692869
remove_text=True, extensions=['png'],
2870-
tol=0.07 if on_win else 0.03)
2870+
tol=0.07)
28712871
def test_specgram_magnitude_freqs():
28722872
'''test axes.specgram in magnitude mode with sinusoidal stimuli'''
28732873
n = 10000
@@ -2969,7 +2969,7 @@ def test_specgram_magnitude_noise():
29692969

29702970
@image_comparison(baseline_images=['specgram_angle_freqs'],
29712971
remove_text=True, extensions=['png'],
2972-
tol=0.007 if on_win else 0)
2972+
tol=0.007)
29732973
def test_specgram_angle_freqs():
29742974
'''test axes.specgram in angle mode with sinusoidal stimuli'''
29752975
n = 10000

0 commit comments

Comments
 (0)