Skip to content

Commit d262e53

Browse files
authored
Merge pull request #19377 from meeseeksmachine/auto-backport-of-pr-19371-on-v3.3.x
Backport PR #19371 on branch v3.3.x (Fix specgram test on NumPy 1.20.)
2 parents a9ff466 + 6381656 commit d262e53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4152,7 +4152,7 @@ def test_specgram_angle():
41524152

41534153
def test_specgram_fs_none():
41544154
"""Test axes.specgram when Fs is None, should not throw error."""
4155-
spec, freqs, t, im = plt.specgram(np.ones(300), Fs=None)
4155+
spec, freqs, t, im = plt.specgram(np.ones(300), Fs=None, scale='linear')
41564156
xmin, xmax, freq0, freq1 = im.get_extent()
41574157
assert xmin == 32 and xmax == 96
41584158

0 commit comments

Comments
 (0)