Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 403ab99

Browse files
committed
Remove calls to hold(True) from test_axes.py
1 parent dce381e commit 403ab99

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3205,10 +3205,6 @@ def test_specgram_angle_freqs():
32053205
ax12 = fig1.add_subplot(3, 1, 2)
32063206
ax13 = fig1.add_subplot(3, 1, 3)
32073207

3208-
ax11.hold(True)
3209-
ax12.hold(True)
3210-
ax13.hold(True)
3211-
32123208
spec11 = ax11.specgram(y, NFFT=NFFT, Fs=Fs, noverlap=noverlap,
32133209
pad_to=pad_to, sides='default', mode='angle')
32143210
spec12 = ax12.specgram(y, NFFT=NFFT, Fs=Fs, noverlap=noverlap,
@@ -3253,10 +3249,6 @@ def test_specgram_noise_angle():
32533249
ax12 = fig1.add_subplot(3, 1, 2)
32543250
ax13 = fig1.add_subplot(3, 1, 3)
32553251

3256-
ax11.hold(True)
3257-
ax12.hold(True)
3258-
ax13.hold(True)
3259-
32603252
spec11 = ax11.specgram(y, NFFT=NFFT, Fs=Fs, noverlap=noverlap,
32613253
pad_to=pad_to, sides='default', mode='angle')
32623254
spec12 = ax12.specgram(y, NFFT=NFFT, Fs=Fs, noverlap=noverlap,
@@ -3309,10 +3301,6 @@ def test_specgram_freqs_phase():
33093301
ax12 = fig1.add_subplot(3, 1, 2)
33103302
ax13 = fig1.add_subplot(3, 1, 3)
33113303

3312-
ax11.hold(True)
3313-
ax12.hold(True)
3314-
ax13.hold(True)
3315-
33163304
spec11 = ax11.specgram(y, NFFT=NFFT, Fs=Fs, noverlap=noverlap,
33173305
pad_to=pad_to, sides='default', mode='phase')
33183306
spec12 = ax12.specgram(y, NFFT=NFFT, Fs=Fs, noverlap=noverlap,
@@ -3357,10 +3345,6 @@ def test_specgram_noise_phase():
33573345
ax12 = fig1.add_subplot(3, 1, 2)
33583346
ax13 = fig1.add_subplot(3, 1, 3)
33593347

3360-
ax11.hold(True)
3361-
ax12.hold(True)
3362-
ax13.hold(True)
3363-
33643348
spec11 = ax11.specgram(y, NFFT=NFFT, Fs=Fs, noverlap=noverlap,
33653349
pad_to=pad_to, sides='default',
33663350
mode='phase', )

0 commit comments

Comments
 (0)