Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Open
Description
Bug summary
matplotlib.use('tkagg') and matplotlib.use('TkAgg') do not do the same thing, the former freezes until show or pause is called, the latter is interactive
Code for reproduction
# This works normallyfrommatplotlibimportpyplotaspltimportmatplotlibmatplotlib.use('TkAgg')plt.plot([1,2,3],[1,2,3])# This opens an empty frozen windowfrommatplotlibimportpyplotaspltimportmatplotlibmatplotlib.use('tkagg')plt.plot([1,2,3],[1,2,3])
Actual outcome
Expected outcome
Additional information
I have tested this on Windows 10 and 11 using PyCharm (223.8617.48 and also the most recent 232.10319.12). I have tested with matplotlib 3.9.0 as well as a few older versions. I have tested in multiple Python versions, including 3.11.9 and 3.9.13. It seems to work with matplotlib 3.8.3.
Operating system
Windows
Matplotlib Version
3.9.0
Matplotlib Backend
TkAgg
Python version
No response
Jupyter version
No response
Installation
pip