Skip to content

Commit

Permalink
Merge pull request #1285 from cgohlke/patch-12
Browse files Browse the repository at this point in the history
Hide Tk root window until later
  • Loading branch information
mdboom committed Sep 24, 2012
2 parents bdfa2cb + cd01d82 commit afd4977
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/matplotlib/backends/backend_tkagg.py
Expand Up @@ -85,6 +85,7 @@ def new_figure_manager_given_figure(num, figure):
"""
_focus = windowing.FocusManager()
window = Tk.Tk()
window.withdraw()

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

0 comments on commit afd4977

Please sign in to comment.