Skip to content

Commit 8622eb0

Browse files
committed
Adjust the tol of two tests to pass on OSX
1 parent c4a94e5 commit 8622eb0

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
@@ -2747,7 +2747,7 @@ def test_subplot_key_hash():
27472747

27482748
@image_comparison(baseline_images=['specgram_freqs',
27492749
'specgram_freqs_linear'],
2750-
remove_text=True, extensions=['png'], tol=0.01)
2750+
remove_text=True, extensions=['png'], tol=0.03)
27512751
def test_specgram_freqs():
27522752
'''test axes.specgram in default (psd) mode with sinusoidal stimuli'''
27532753
n = 10000
@@ -2847,7 +2847,7 @@ def test_specgram_noise():
28472847

28482848
@image_comparison(baseline_images=['specgram_magnitude_freqs',
28492849
'specgram_magnitude_freqs_linear'],
2850-
remove_text=True, extensions=['png'], tol=0.01)
2850+
remove_text=True, extensions=['png'], tol=0.03)
28512851
def test_specgram_magnitude_freqs():
28522852
'''test axes.specgram in magnitude mode with sinusoidal stimuli'''
28532853
n = 10000

0 commit comments

Comments
 (0)