Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Closed
Labels
Description
Bug summary
TkAgg reports bad option 'foobar' for icon withlogging set to INFO level. The code in question is located here:
although I do not see where thisfoobar argument is coming from.
Code for reproduction
importmatplotlib.pyplotaspltimportlogginglogging.basicConfig(level=logging.INFO,datefmt='%m-%d %H:%M')importnumpyasnpplt.switch_backend('TkAgg')plt.figure()plt.plot(np.arange(24),np.linspace(-np.pi,np.pi,24),'+-')plt.show(block=True)
Actual outcome
INFO:matplotlib.backends._backend_tk:Could not load matplotlib icon: bad option "foobar": must be aspect, attributes, client, colormapwindows, command, deiconify, focusmodel, forget, frame, geometry, grid, group, iconbitmap, iconify, iconmask, iconname, iconphoto, iconposition, iconwindow, manage, maxsize, minsize, overrideredirect, positionfrom, protocol, resizable, sizefrom, stackorder, state, title, transient, or withdrawExpected outcome
Nothing.
Matplotlib version
- Operating system: Windows 10
- Matplotlib version: 2.2.0
- Matplotlib backend (
print(matplotlib.get_backend())): TkAgg - Python version: 3.6.3 Anaconda
- Jupyter version (if applicable): N/A
- Other libraries: TkInter version 8.6
Installed viapip install yesterday.