diff --git a/lib/matplotlib/tests/test_axes.py b/lib/matplotlib/tests/test_axes.py index 57beec025aa8..e0b340da1ee8 100644 --- a/lib/matplotlib/tests/test_axes.py +++ b/lib/matplotlib/tests/test_axes.py @@ -4152,7 +4152,7 @@ def test_specgram_angle(): def test_specgram_fs_none(): """Test axes.specgram when Fs is None, should not throw error.""" - spec, freqs, t, im = plt.specgram(np.ones(300), Fs=None) + spec, freqs, t, im = plt.specgram(np.ones(300), Fs=None, scale='linear') xmin, xmax, freq0, freq1 = im.get_extent() assert xmin == 32 and xmax == 96
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: