diff --git a/lib/matplotlib/backends/backend_tkagg.py b/lib/matplotlib/backends/backend_tkagg.py index 85d32067f4e2..4215aa6a5cc2 100644 --- a/lib/matplotlib/backends/backend_tkagg.py +++ b/lib/matplotlib/backends/backend_tkagg.py @@ -208,6 +208,7 @@ def __init__(self, figure, master=None, resize_callback=None): # to the window and filter. def filter_destroy(evt): if evt.widget is self._tkcanvas: + self._master.update_idletasks() self.close_event() root.bind("", filter_destroy, "+")