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

Skip to content

Commit fff1d66

Browse files
committed
Increase tolerance on Windows
1 parent d6b22a5 commit fff1d66

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
@@ -2753,7 +2753,7 @@ def test_subplot_key_hash():
27532753
@image_comparison(baseline_images=['specgram_freqs',
27542754
'specgram_freqs_linear'],
27552755
remove_text=True, extensions=['png'],
2756-
tol=0.05 if on_win else 0.03)
2756+
tol=0.07 if on_win else 0.03)
27572757
def test_specgram_freqs():
27582758
'''test axes.specgram in default (psd) mode with sinusoidal stimuli'''
27592759
n = 10000
@@ -2854,7 +2854,7 @@ def test_specgram_noise():
28542854
@image_comparison(baseline_images=['specgram_magnitude_freqs',
28552855
'specgram_magnitude_freqs_linear'],
28562856
remove_text=True, extensions=['png'],
2857-
tol=0.05 if on_win else 0.03)
2857+
tol=0.07 if on_win else 0.03)
28582858
def test_specgram_magnitude_freqs():
28592859
'''test axes.specgram in magnitude mode with sinusoidal stimuli'''
28602860
n = 10000
@@ -2956,7 +2956,7 @@ def test_specgram_magnitude_noise():
29562956

29572957
@image_comparison(baseline_images=['specgram_angle_freqs'],
29582958
remove_text=True, extensions=['png'],
2959-
tol=0.003 if on_win else 0)
2959+
tol=0.007 if on_win else 0)
29602960
def test_specgram_angle_freqs():
29612961
'''test axes.specgram in angle mode with sinusoidal stimuli'''
29622962
n = 10000

0 commit comments

Comments
 (0)