Title: shift + w does not close all figures (has no effect) · Issue #14208 · matplotlib/matplotlib · GitHub
Open Graph Title: shift + w does not close all figures (has no effect) · Issue #14208 · matplotlib/matplotlib
X Title: shift + w does not close all figures (has no effect) · Issue #14208 · matplotlib/matplotlib
Description: Bug report Bug summary shift + w should close all open figures, as outlined in the docs. However, the shortcut does not seem to have any effect. Furthermore, none of the other equivalent -- albeit undocumented -- keybindings as defined i...
Open Graph Description: Bug report Bug summary shift + w should close all open figures, as outlined in the docs. However, the shortcut does not seem to have any effect. Furthermore, none of the other equivalent -- albeit ...
X Description: Bug report Bug summary shift + w should close all open figures, as outlined in the docs. However, the shortcut does not seem to have any effect. Furthermore, none of the other equivalent -- albeit ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/14208
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"shift + w does not close all figures (has no effect)","articleBody":"\u003c!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--\u003e\r\n\u003c!--You can feel free to delete the sections that do not apply.--\u003e\r\n\r\n### Bug report\r\n\r\n**Bug summary**\r\n\r\n\u003c!--A short 1-2 sentences that succinctly describes the bug--\u003e\r\n`shift + w` should close all open figures, as outlined in the [docs](https://matplotlib.org/users/navigation_toolbar.html). However, the shortcut does not seem to have any effect. Furthermore, none of the other equivalent -- albeit undocumented -- keybindings as defined in `plt.rcParams` (`'keymap.quit_all': ['W', 'cmd+W', 'Q'],`) have any effect either. \r\nThis is in contrast to `ctrl + w`, which is supposed to close a single figure, and does that just fine. \r\n\r\n**Code for reproduction**\r\n\r\n\u003c!--A minimum code snippet required to reproduce the bug.\r\nPlease make sure to minimize the number of dependencies required, and provide\r\nany necessary plotted data.\r\nAvoid using threads, as Matplotlib is (explicitly) not thread-safe.--\u003e\r\n\r\n```python\r\nfig1 = plt.figure()\r\nfig2 = plt.figure()\r\n# press shift + w\r\n```\r\n\r\n**Actual outcome**\r\nNothing happens.\r\n\r\n\u003c!--The output produced by the above code, which may be a screenshot, console output, etc.--\u003e\r\n\r\n**Expected outcome**\r\n\r\n\u003c!--A description of the expected outcome from the code snippet--\u003e\r\n\u003c!--If this used to work in an earlier version of Matplotlib, please note the version it used to work on--\u003e\r\n\r\nAll figures are closed. \r\n\r\n**Matplotlib version**\r\n\u003c!--Please specify your platform and versions of the relevant libraries you are using:--\u003e\r\n * Operating system: Ubuntu, Windows\r\n * Matplotlib version: 2.2.3, 3.0.3\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): TkAgg\r\n * Python version: python 2.7.13, python 3.7.3\r\n * Jupyter version (if applicable):\r\n * Other libraries: \r\n\r\n\u003c!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--\u003e\r\n\u003c!--If you installed from conda, please specify which channel you used if not the default--\u003e\r\n\r\nUbuntu 17.03 / python 2.7.13 / matplotlib version 2.2.3 from source; \r\nWindows 10 / python 3.7.3 / matplotlib version 3.0.3 via Anaconda (default channel) ","author":{"url":"https://github.com/paulbrodersen","@type":"Person","name":"paulbrodersen"},"datePublished":"2019-05-13T16:53:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/14208/matplotlib/issues/14208"}
| 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:301edcb6-86e6-1524-5c61-01366af0636f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B06E:2BA38A:263715:33DD87:6A533598 |
| html-safe-nonce | 537793a578d3f6ebea8e4dee1287d502c8f382b240e7daca8fc5845e2aab4884 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDZFOjJCQTM4QToyNjM3MTU6MzNERDg3OjZBNTMzNTk4IiwidmlzaXRvcl9pZCI6IjU1ODQ5Nzc4NzA2NDY4ODM3MzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b11c20801f1db33c8fa2ffa7543144ff6c191b78a181814e908c9afeb4f017aa |
| hovercard-subject-tag | issue:443502386 |
| 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/14208/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d931b7374aea09fdfc8db875ce5ca5dae9f3879e8d8c22419a0c244e9cd68be8/matplotlib/matplotlib/issues/14208 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d931b7374aea09fdfc8db875ce5ca5dae9f3879e8d8c22419a0c244e9cd68be8/matplotlib/matplotlib/issues/14208 |
| og:image:alt | Bug report Bug summary shift + w should close all open figures, as outlined in the docs. However, the shortcut does not seem to have any effect. Furthermore, none of the other equivalent -- albeit ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | paulbrodersen |
| 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