Test axes.specgram when Fs is None, should not throw error.
()
| 6058 | |
| 6059 | |
| 6060 | def test_specgram_fs_none(): |
| 6061 | """Test axes.specgram when Fs is None, should not throw error.""" |
| 6062 | spec, freqs, t, im = plt.specgram(np.ones(300), Fs=None, scale='linear') |
| 6063 | xmin, xmax, freq0, freq1 = im.get_extent() |
| 6064 | assert xmin == 32 and xmax == 96 |
| 6065 | |
| 6066 | |
| 6067 | @check_figures_equal() |
nothing calls this directly
no test coverage detected
searching dependent graphs…