MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / destroy

Method destroy

lib/matplotlib/backends/backend_wx.py:1007–1015  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

1005 self.frame.Raise()
1006
1007 def destroy(self, *args):
1008 # docstring inherited
1009 _log.debug("%s - destroy()", type(self))
1010 frame = self.frame
1011 if frame: # Else, may have been already deleted, e.g. when closing.
1012 # As this can be called from non-GUI thread from plt.close use
1013 # wx.CallAfter to ensure thread safety.
1014 wx.CallAfter(frame.Close)
1015 super().destroy()
1016
1017 def full_screen_toggle(self):
1018 # docstring inherited

Callers 3

_on_closeMethod · 0.45
check_focusFunction · 0.45

Calls

no outgoing calls

Tested by 2

check_focusFunction · 0.36