Skip to content

Commit 4b3f0cb

Browse files
authored
Merge pull request matplotlib#27498 from anntzer/undel
Remove unnecessary del local variables at end of Gcf.destroy.
2 parents 846316c + 6d32e3f commit 4b3f0cb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/matplotlib/_pylab_helpers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ def destroy(cls, num):
6464
if hasattr(manager, "_cidgcf"):
6565
manager.canvas.mpl_disconnect(manager._cidgcf)
6666
manager.destroy()
67-
del manager, num
6867

6968
@classmethod
7069
def destroy_fig(cls, fig):

0 commit comments

Comments
 (0)