Title: fig.show() doesn't block · Issue #13101 · matplotlib/matplotlib · GitHub
Open Graph Title: fig.show() doesn't block · Issue #13101 · matplotlib/matplotlib
X Title: fig.show() doesn't block · Issue #13101 · matplotlib/matplotlib
Description: Bug report Calling fig.show() on a figure doesn't block. Commenting out the input() line below does block, and the figure shows fine. Also using plt.show() instead works fine. Code for reproduction import matplotlib matplotlib.use('qt5ag...
Open Graph Description: Bug report Calling fig.show() on a figure doesn't block. Commenting out the input() line below does block, and the figure shows fine. Also using plt.show() instead works fine. Code for reproduction...
X Description: Bug report Calling fig.show() on a figure doesn't block. Commenting out the input() line below does block, and the figure shows fine. Also using plt.show() instead works fine. Code for reproduc...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/13101
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"fig.show() doesn't block","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\nCalling `fig.show()` on a figure doesn't block. Commenting out the `input()` line below does block, and the figure shows fine. Also using `plt.show()` instead works fine.\r\n\r\n\u003c!--A short 1-2 sentences that succinctly describes the bug--\u003e\r\n\r\n**Code for reproduction**\r\n\r\n\u003c!--A minimum code snippet required to reproduce the bug, also minimizing the number of dependencies required--\u003e\r\n\r\n```python\r\nimport matplotlib\r\nmatplotlib.use('qt5agg')\r\nfrom matplotlib import pyplot as plt\r\n\r\nfig, ax = plt.subplots()\r\nfig.show()\r\n# input()\r\n```\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: MacOS\r\n * Matplotlib version: 3.0.2\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): qt5agg\r\n * Python version: 3.7.1\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\n","author":{"url":"https://github.com/dstansby","@type":"Person","name":"dstansby"},"datePublished":"2019-01-04T18:01:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":20},"url":"https://github.com/13101/matplotlib/issues/13101"}
| 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:f6e5449d-449e-abf3-91c0-8a4028cca1ef |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9816:15F1A6:AA1BBB:E0E4FA:6A5318FD |
| html-safe-nonce | 47a8e307ad5acbdf5db653c3c73261e1297512b59fbc3c4e0cd2de6f6ed298e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODE2OjE1RjFBNjpBQTFCQkI6RTBFNEZBOjZBNTMxOEZEIiwidmlzaXRvcl9pZCI6IjEyMzQ0NTI0NTM5NTg4MTgwNDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4a8ac92df0662f18cff7d05c491dd070e09cdfd40bbb16f81c7353b3e15415f5 |
| hovercard-subject-tag | issue:396015219 |
| 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/13101/issue_layout |
| twitter:image | https://opengraph.githubassets.com/12f6e7b69e540fc5da7a94d7cdfabc2fbcd18ce49ec6a5f269171921af87aff0/matplotlib/matplotlib/issues/13101 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/12f6e7b69e540fc5da7a94d7cdfabc2fbcd18ce49ec6a5f269171921af87aff0/matplotlib/matplotlib/issues/13101 |
| og:image:alt | Bug report Calling fig.show() on a figure doesn't block. Commenting out the input() line below does block, and the figure shows fine. Also using plt.show() instead works fine. Code for reproduction... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dstansby |
| 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