Skip to content

Commit c578ec6

Browse files
committed
FIX: do not add super().destroy to Canvas destroy method
This goes up the chain to the GUI classes that do not have this method.
1 parent b7a5cfd commit c578ec6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/matplotlib/backends/backend_gtk4.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ def __init__(self, figure=None):
9090

9191
def destroy(self):
9292
CloseEvent("close_event", self)._process()
93-
super().destroy()
9493

9594
def set_cursor(self, cursor):
9695
# docstring inherited

0 commit comments

Comments
 (0)