Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2132073

Browse files
authored
Merge pull request#9956 from mattip/tkagg-issue9856
BUG: clear events before destroying windows in tkagg
2 parents8f3df28 +f5044af commit2132073

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎lib/matplotlib/backends/backend_tkagg.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ def __init__(self, figure, master=None, resize_callback=None):
208208
# to the window and filter.
209209
deffilter_destroy(evt):
210210
ifevt.widgetisself._tkcanvas:
211+
self._master.update_idletasks()
211212
self.close_event()
212213
root.bind("<Destroy>",filter_destroy,"+")
213214

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp