[New-bugs-announce] [issue31309] Tkinter root window does not close if used with matplotlib.pyplot

Philipp report at bugs.python.org
Wed Aug 30 11:34:35 EDT 2017


New submission from Philipp:

Today I ran into a problem when using both tkinter and matplotlib.pyplot at the same time. I thought it would be best to let you know, in case it is an issue. 

The problem is/was that the root window did not close itself, when just using `askopenfilename()`. 

A complete description of the problem, including a minimal working example, screenshots and a "solution" can be found on StackOverflow: 
https://stackoverflow.com/q/45960815/7414040 

I think that the function `askopenfilename()` does not ensure that the tkinter root window, that has been opened, is destroyed after the function call ended.

----------
assignee: terry.reedy
components: IDLE, Tkinter, Windows
messages: 301028
nosy: paul.moore, psiehr, steve.dower, terry.reedy, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Tkinter root window does not close if used with matplotlib.pyplot
type: behavior
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31309>
_______________________________________


More information about the New-bugs-announce mailing list