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

Skip to content

Commit 1f4e9eb

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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.06 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.006 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)