Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Description
If I'm using plot.pause(15) and I close the window while there is a pause, the window shouldn't throw an exception, instead keep the execution going
Bug report
Bug summary
Code for reproduction
# Paste your code here# plt.show(block=False)plt.pause(15)self.hide()defhide(self):ifplt.gcf():plt.clf()plt.cla()plt.close()#
Actual outcome
# If applicable, paste the console output here#_tkinter.TclError: can't invoke "update" command: application has been destroyed#
Expected outcome
Matplotlib version
- Operating system:
- Matplotlib version:
- Matplotlib backend (
print(matplotlib.get_backend())
): - Python version:
- Jupyter version (if applicable):
- Other libraries: