@@ -2748,7 +2748,7 @@ def test_subplot_key_hash():
27482748
27492749@image_comparison (baseline_images = ['specgram_freqs' ,
27502750 'specgram_freqs_linear' ],
2751- remove_text = True , extensions = ['png' ], tol = 0.01 )
2751+ remove_text = True , extensions = ['png' ], tol = 0.03 )
27522752def test_specgram_freqs ():
27532753 '''test axes.specgram in default (psd) mode with sinusoidal stimuli'''
27542754 n = 10000
@@ -2848,7 +2848,7 @@ def test_specgram_noise():
28482848
28492849@image_comparison (baseline_images = ['specgram_magnitude_freqs' ,
28502850 'specgram_magnitude_freqs_linear' ],
2851- remove_text = True , extensions = ['png' ], tol = 0.01 )
2851+ remove_text = True , extensions = ['png' ], tol = 0.03 )
28522852def test_specgram_magnitude_freqs ():
28532853 '''test axes.specgram in magnitude mode with sinusoidal stimuli'''
28542854 n = 10000
@@ -4286,6 +4286,12 @@ def test_broken_barh_empty():
42864286 ax .broken_barh ([], (.1 , .5 ))
42874287
42884288
4289+ @cleanup
4290+ def test_broken_barh_empty ():
4291+ fig , ax = plt .subplots ()
4292+ ax .broken_barh ([], (.1 , .5 ))
4293+
4294+
42894295if __name__ == '__main__' :
42904296 import nose
42914297 import sys
0 commit comments