|
28 | 28 | import warnings
|
29 | 29 | from matplotlib.cbook import IgnoredKeywordWarning
|
30 | 30 |
|
| 31 | + |
31 | 32 | # Note: Some test cases are run twice: once normally and once with labeled data
|
32 | 33 | # These two must be defined in the same test function or need to have
|
33 | 34 | # different baseline images to prevent race conditions when nose runs
|
@@ -1792,11 +1793,11 @@ def test_boxplot_sym():
|
1792 | 1793 | def test_boxplot_autorange_whiskers():
|
1793 | 1794 | x = np.ones(140)
|
1794 | 1795 | x = np.hstack([0, x, 2])
|
1795 |
| - |
| 1796 | + |
1796 | 1797 | fig1, ax1 = plt.subplots()
|
1797 | 1798 | ax1.boxplot([x, x], bootstrap=10000, notch=1)
|
1798 | 1799 | ax1.set_ylim((-5, 5))
|
1799 |
| - |
| 1800 | + |
1800 | 1801 | fig2, ax2 = plt.subplots()
|
1801 | 1802 | ax2.boxplot([x, x], bootstrap=10000, notch=1, autorange=True)
|
1802 | 1803 | ax2.set_ylim((-5, 5))
|
@@ -2759,7 +2760,7 @@ def test_subplot_key_hash():
|
2759 | 2760 |
|
2760 | 2761 | @image_comparison(baseline_images=['specgram_freqs',
|
2761 | 2762 | 'specgram_freqs_linear'],
|
2762 |
| - remove_text=True, extensions=['png'], tol=0.03) |
| 2763 | + remove_text=True, extensions=['png'], tol=0.07) |
2763 | 2764 | def test_specgram_freqs():
|
2764 | 2765 | '''test axes.specgram in default (psd) mode with sinusoidal stimuli'''
|
2765 | 2766 | n = 10000
|
@@ -2859,7 +2860,7 @@ def test_specgram_noise():
|
2859 | 2860 |
|
2860 | 2861 | @image_comparison(baseline_images=['specgram_magnitude_freqs',
|
2861 | 2862 | 'specgram_magnitude_freqs_linear'],
|
2862 |
| - remove_text=True, extensions=['png'], tol=0.03) |
| 2863 | + remove_text=True, extensions=['png'], tol=0.07) |
2863 | 2864 | def test_specgram_magnitude_freqs():
|
2864 | 2865 | '''test axes.specgram in magnitude mode with sinusoidal stimuli'''
|
2865 | 2866 | n = 10000
|
@@ -2960,7 +2961,7 @@ def test_specgram_magnitude_noise():
|
2960 | 2961 |
|
2961 | 2962 |
|
2962 | 2963 | @image_comparison(baseline_images=['specgram_angle_freqs'],
|
2963 |
| - remove_text=True, extensions=['png']) |
| 2964 | + remove_text=True, extensions=['png'], tol=0.007) |
2964 | 2965 | def test_specgram_angle_freqs():
|
2965 | 2966 | '''test axes.specgram in angle mode with sinusoidal stimuli'''
|
2966 | 2967 | n = 10000
|
|
0 commit comments