Bug summary
Code for reproduction
# Paste your code here # plt.show(block=False) plt.pause(15) self.hide() def hide(self): if plt.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
Can you please fill out the information about Matplotlib, python, system, and tk version?
This is clearly a snippet from a much larger code base, do you have a self-contained example that demonstrates this problem?
It would also be useful to see the traceback
closing for lack of activity.
I suspect that this will be fixed by #17802 .
Activity
tacaswell commented on Mar 5, 2020
Can you please fill out the information about Matplotlib, python, system, and tk version?
This is clearly a snippet from a much larger code base, do you have a self-contained example that demonstrates this problem?
WeatherGod commented on Mar 6, 2020
It would also be useful to see the traceback
anntzer commented on Jul 7, 2020
closing for lack of activity.
tacaswell commented on Jul 7, 2020
I suspect that this will be fixed by #17802 .