Skip to content

Commit afd4977

Browse files
committed
Merge pull request #1285 from cgohlke/patch-12
Hide Tk root window until later
2 parents bdfa2cb + cd01d82 commit afd4977

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/backends/backend_tkagg.py

+1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def new_figure_manager_given_figure(num, figure):
8585
"""
8686
_focus = windowing.FocusManager()
8787
window = Tk.Tk()
88+
window.withdraw()
8889

8990
if Tk.TkVersion >= 8.5:
9091
# put a mpl icon on the window rather than the default tk icon. Tkinter

0 commit comments

Comments
 (0)