Title: TkAgg reports bad option 'foobar' for icon with `logging` set to INFO level · Issue #10785 · matplotlib/matplotlib · GitHub
Open Graph Title: TkAgg reports bad option 'foobar' for icon with `logging` set to INFO level · Issue #10785 · matplotlib/matplotlib
X Title: TkAgg reports bad option 'foobar' for icon with `logging` set to INFO level · Issue #10785 · matplotlib/matplotlib
Description: Bug summary TkAgg reports bad option 'foobar' for icon with logging set to INFO level. The code in question is located here: https://github.com/matplotlib/matplotlib/blob/d420e66c776becfcf489a0181acf5b777da9f9ea/lib/matplotlib/backends/_...
Open Graph Description: Bug summary TkAgg reports bad option 'foobar' for icon with logging set to INFO level. The code in question is located here: https://github.com/matplotlib/matplotlib/blob/d420e66c776becfcf489a0181a...
X Description: Bug summary TkAgg reports bad option 'foobar' for icon with logging set to INFO level. The code in question is located here: https://github.com/matplotlib/matplotlib/blob/d420e66c776becfcf4...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/10785
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TkAgg reports bad option 'foobar' for icon with `logging` set to INFO level","articleBody":"**Bug summary**\r\n\r\nTkAgg reports bad option 'foobar' for icon with `logging` set to INFO level. The code in question is located here:\r\n\r\nhttps://github.com/matplotlib/matplotlib/blob/d420e66c776becfcf489a0181acf5b777da9f9ea/lib/matplotlib/backends/_backend_tk.py\r\n\r\nalthough I do not see where this `foobar` argument is coming from.\r\n\r\n**Code for reproduction**\r\n\r\n```python\r\nimport matplotlib.pyplot as plt\r\nimport logging \r\nlogging.basicConfig(level=logging.INFO, datefmt='%m-%d %H:%M')\r\nimport numpy as np\r\nplt.switch_backend('TkAgg')\r\nplt.figure()\r\nplt.plot( np.arange(24), np.linspace(-np.pi,np.pi,24), '+-')\r\nplt.show(block=True)\r\n```\r\n\r\n**Actual outcome**\r\n\r\n```\r\nINFO: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 withdraw\r\n```\r\n\r\n**Expected outcome**\r\n\r\nNothing.\r\n\r\n**Matplotlib version**\r\n\r\n * Operating system: Windows 10\r\n * Matplotlib version: 2.2.0\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): TkAgg\r\n * Python version: 3.6.3 Anaconda\r\n * Jupyter version (if applicable): N/A\r\n * Other libraries: TkInter version 8.6\r\n\r\nInstalled via `pip install` yesterday.\r\n\r\n","author":{"url":"https://github.com/robbmcleod","@type":"Person","name":"robbmcleod"},"datePublished":"2018-03-14T17:44:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/10785/matplotlib/issues/10785"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f257c497-64ae-647e-0b5c-f1ced3779dc9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D32A:1BECEB:5043F3:68F355:6A52FFB0 |
| html-safe-nonce | efb914e1a6b30ea0fb05c32c016d64e6afec553753816eeee06675a479f70c00 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzJBOjFCRUNFQjo1MDQzRjM6NjhGMzU1OjZBNTJGRkIwIiwidmlzaXRvcl9pZCI6IjY2MzIyMDMyNzUyMzA5Njk3NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 487695fe075613b49dc9a98e1ecaaca09bcf7a95d15e1b2e63a4578d1d2a23db |
| hovercard-subject-tag | issue:305262888 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/10785/issue_layout |
| twitter:image | https://opengraph.githubassets.com/80c88bb5517495c2e92d2a61bf273e9602063f7210519d2df3894c9c0479569a/matplotlib/matplotlib/issues/10785 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/80c88bb5517495c2e92d2a61bf273e9602063f7210519d2df3894c9c0479569a/matplotlib/matplotlib/issues/10785 |
| og:image:alt | Bug summary TkAgg reports bad option 'foobar' for icon with logging set to INFO level. The code in question is located here: https://github.com/matplotlib/matplotlib/blob/d420e66c776becfcf489a0181a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | robbmcleod |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width