From f5044af2b8f867dec881d62e7b660735ab527581 Mon Sep 17 00:00:00 2001 From: mattip Date: Fri, 8 Dec 2017 12:28:59 +0200 Subject: [PATCH] clear events during destroy --- lib/matplotlib/backends/backend_tkagg.py | 1 + 1 file changed, 1 insertion(+) 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, "+") pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy