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

Method destroy

lib/matplotlib/backends/backend_nbagg.py:79–81  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

77 canvas.draw_idle()
78
79 def destroy(event):
80 canvas.mpl_disconnect(cid)
81 Gcf.destroy(manager)
82
83 cid = canvas.mpl_connect('close_event', destroy)
84 return manager

Callers

nothing calls this directly

Calls 4

clearup_closedMethod · 0.95
mpl_disconnectMethod · 0.80
_send_eventMethod · 0.80
on_closeMethod · 0.45

Tested by

no test coverage detected