@@ -1721,7 +1721,7 @@ def test_bxp_bad_positions():
1721
1721
assert_raises (ValueError , ax .bxp , logstats , positions = [2 , 3 ])
1722
1722
1723
1723
1724
- @image_comparison (baseline_images = ['boxplot' , 'boxplot' ])
1724
+ @image_comparison (baseline_images = ['boxplot' , 'boxplot' ], tol = 1 )
1725
1725
def test_boxplot ():
1726
1726
x = np .linspace (- 7 , 7 , 140 )
1727
1727
x = np .hstack ([- 25 , x , 25 ])
@@ -1780,7 +1780,7 @@ def _rc_test_bxp_helper(ax, rc_dict):
1780
1780
return ax
1781
1781
1782
1782
@image_comparison (baseline_images = ['boxplot_rc_parameters' ],
1783
- savefig_kwarg = {'dpi' : 100 }, remove_text = True )
1783
+ savefig_kwarg = {'dpi' : 100 }, remove_text = True , tol = 1 )
1784
1784
def test_boxplot_rc_parameters ():
1785
1785
fig , ax = plt .subplots (3 )
1786
1786
@@ -2730,7 +2730,7 @@ def test_subplot_key_hash():
2730
2730
2731
2731
@image_comparison (baseline_images = ['specgram_freqs' ,
2732
2732
'specgram_freqs_linear' ],
2733
- remove_text = True , extensions = ['png' ])
2733
+ remove_text = True , extensions = ['png' ], tol = 0.01 )
2734
2734
def test_specgram_freqs ():
2735
2735
'''test axes.specgram in default (psd) mode with sinusoidal stimuli'''
2736
2736
n = 10000
@@ -2783,7 +2783,7 @@ def test_specgram_freqs():
2783
2783
2784
2784
@image_comparison (baseline_images = ['specgram_noise' ,
2785
2785
'specgram_noise_linear' ],
2786
- remove_text = True , extensions = ['png' ])
2786
+ remove_text = True , extensions = ['png' ], tol = 0.01 )
2787
2787
def test_specgram_noise ():
2788
2788
'''test axes.specgram in default (psd) mode with noise stimuli'''
2789
2789
np .random .seed (0 )
@@ -2830,7 +2830,7 @@ def test_specgram_noise():
2830
2830
2831
2831
@image_comparison (baseline_images = ['specgram_magnitude_freqs' ,
2832
2832
'specgram_magnitude_freqs_linear' ],
2833
- remove_text = True , extensions = ['png' ])
2833
+ remove_text = True , extensions = ['png' ], tol = 0.01 )
2834
2834
def test_specgram_magnitude_freqs ():
2835
2835
'''test axes.specgram in magnitude mode with sinusoidal stimuli'''
2836
2836
n = 10000
0 commit comments