Title: [Doc]: figure.show works beyond what is documented · Issue #22169 · matplotlib/matplotlib · GitHub
Open Graph Title: [Doc]: figure.show works beyond what is documented · Issue #22169 · matplotlib/matplotlib
X Title: [Doc]: figure.show works beyond what is documented · Issue #22169 · matplotlib/matplotlib
Description: Documentation Link https://matplotlib.org/devdocs/api/figure_api.html?highlight=figure show#matplotlib.figure.Figure.show Problem From the linked documentation Proper use cases for Figure.show include running this from a GUI applicatio...
Open Graph Description: Documentation Link https://matplotlib.org/devdocs/api/figure_api.html?highlight=figure show#matplotlib.figure.Figure.show Problem From the linked documentation Proper use cases for Figure.show in...
X Description: Documentation Link https://matplotlib.org/devdocs/api/figure_api.html?highlight=figure show#matplotlib.figure.Figure.show Problem From the linked documentation Proper use cases for Figure.show in...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/22169
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Doc]: figure.show works beyond what is documented","articleBody":"### Documentation Link\n\nhttps://matplotlib.org/devdocs/api/figure_api.html?highlight=figure%20show#matplotlib.figure.Figure.show\n\n### Problem\n\n\r\nFrom the linked documentation\r\n\r\n\u003e Proper use cases for Figure.show include running this from a GUI application or an IPython shell.\r\n\u003e \r\n\u003e If you're running a pure python shell or executing a non-GUI python script, you should use `matplotlib.pyplot.show` instead, which takes care of managing the event loop for you.\r\n\r\nI have just checked, and `figure.show()` works ALSO in a pure python shell (here it's 3.9, in Suse Tumbleweed).\n\n### Suggested improvement\n\nSpecify that after version 3.x (??) of the interpreter the event loop is managed also by a vanilla Python REPL.\n\n### Matplotlib Version\n\n3.5.1","author":{"url":"https://github.com/boffi","@type":"Person","name":"boffi"},"datePublished":"2022-01-09T12:27:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/22169/matplotlib/issues/22169"}
| 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:c5cf084b-6141-8fd2-7e1e-f4872bd51f33 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A4EC:1DB7B5:6C8730:90CE96:6A51A34A |
| html-safe-nonce | 72e2c7251e681f77c2b1b3330d395d02089406e32c80c46e4e0a1a1e86dbba5a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEVDOjFEQjdCNTo2Qzg3MzA6OTBDRTk2OjZBNTFBMzRBIiwidmlzaXRvcl9pZCI6IjMzMjEzNTg5MTY4NDgyOTY3NzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a57d4173cb8915c02c1d36e9d3ee0ade919e8e155b9790a195cf353ba7795a66 |
| hovercard-subject-tag | issue:1097182955 |
| 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/22169/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6f8915dba0392e853ddbf3256f5e5a7a788d6719bbb5d125605d65718e46a639/matplotlib/matplotlib/issues/22169 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6f8915dba0392e853ddbf3256f5e5a7a788d6719bbb5d125605d65718e46a639/matplotlib/matplotlib/issues/22169 |
| og:image:alt | Documentation Link https://matplotlib.org/devdocs/api/figure_api.html?highlight=figure show#matplotlib.figure.Figure.show Problem From the linked documentation Proper use cases for Figure.show in... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | boffi |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width