@@ -1738,7 +1738,7 @@ def test_bxp_bad_positions():
1738
1738
assert_raises (ValueError , ax .bxp , logstats , positions = [2 , 3 ])
1739
1739
1740
1740
1741
- @image_comparison (baseline_images = ['boxplot' , 'boxplot' ])
1741
+ @image_comparison (baseline_images = ['boxplot' , 'boxplot' ], tol = 1 )
1742
1742
def test_boxplot ():
1743
1743
x = np .linspace (- 7 , 7 , 140 )
1744
1744
x = np .hstack ([- 25 , x , 25 ])
@@ -1797,7 +1797,7 @@ def _rc_test_bxp_helper(ax, rc_dict):
1797
1797
return ax
1798
1798
1799
1799
@image_comparison (baseline_images = ['boxplot_rc_parameters' ],
1800
- savefig_kwarg = {'dpi' : 100 }, remove_text = True )
1800
+ savefig_kwarg = {'dpi' : 100 }, remove_text = True , tol = 1 )
1801
1801
def test_boxplot_rc_parameters ():
1802
1802
fig , ax = plt .subplots (3 )
1803
1803
@@ -2747,7 +2747,7 @@ def test_subplot_key_hash():
2747
2747
2748
2748
@image_comparison (baseline_images = ['specgram_freqs' ,
2749
2749
'specgram_freqs_linear' ],
2750
- remove_text = True , extensions = ['png' ])
2750
+ remove_text = True , extensions = ['png' ], tol = 0.01 )
2751
2751
def test_specgram_freqs ():
2752
2752
'''test axes.specgram in default (psd) mode with sinusoidal stimuli'''
2753
2753
n = 10000
@@ -2800,7 +2800,7 @@ def test_specgram_freqs():
2800
2800
2801
2801
@image_comparison (baseline_images = ['specgram_noise' ,
2802
2802
'specgram_noise_linear' ],
2803
- remove_text = True , extensions = ['png' ])
2803
+ remove_text = True , extensions = ['png' ], tol = 0.01 )
2804
2804
def test_specgram_noise ():
2805
2805
'''test axes.specgram in default (psd) mode with noise stimuli'''
2806
2806
np .random .seed (0 )
@@ -2847,7 +2847,7 @@ def test_specgram_noise():
2847
2847
2848
2848
@image_comparison (baseline_images = ['specgram_magnitude_freqs' ,
2849
2849
'specgram_magnitude_freqs_linear' ],
2850
- remove_text = True , extensions = ['png' ])
2850
+ remove_text = True , extensions = ['png' ], tol = 0.01 )
2851
2851
def test_specgram_magnitude_freqs ():
2852
2852
'''test axes.specgram in magnitude mode with sinusoidal stimuli'''
2853
2853
n = 10000
0 commit comments