Title: RectangleSelector examples don't run in notebooks · Issue #11201 · matplotlib/matplotlib · GitHub
Open Graph Title: RectangleSelector examples don't run in notebooks · Issue #11201 · matplotlib/matplotlib
X Title: RectangleSelector examples don't run in notebooks · Issue #11201 · matplotlib/matplotlib
Description: The RectangleSelector examples in the documentation (here and here) don't work properly in Jupyter notebooks. To fix, change the last line from: show() or plt.show() to show(block=True) or plt.show(block=True) Thanks!
Open Graph Description: The RectangleSelector examples in the documentation (here and here) don't work properly in Jupyter notebooks. To fix, change the last line from: show() or plt.show() to show(block=True) or plt.show...
X Description: The RectangleSelector examples in the documentation (here and here) don't work properly in Jupyter notebooks. To fix, change the last line from: show() or plt.show() to show(block=True) or plt....
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/11201
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RectangleSelector examples don't run in notebooks","articleBody":"The RectangleSelector examples in the documentation ([here](https://matplotlib.org/gallery/widgets/rectangle_selector.html) and [here](https://matplotlib.org/api/widgets_api.html#matplotlib.widgets.RectangleSelector)) don't work properly in Jupyter notebooks.\r\n\r\nTo fix, change the last line from:\r\n`show()` or `plt.show()`\r\nto\r\n`show(block=True)` or `plt.show(block=True)`\r\n\r\nThanks!\r\n","author":{"url":"https://github.com/sorenrasmussen","@type":"Person","name":"sorenrasmussen"},"datePublished":"2018-05-08T18:07:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":19},"url":"https://github.com/11201/matplotlib/issues/11201"}
| 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:1073055e-6fa7-1183-c30b-deb5dc2f42a4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A53E:3DC17:C276C6:10CA92E:6A53A70B |
| html-safe-nonce | 66b876024add462cf36fbbe91c853f32e92e9a7ecac7c6480b2882bfade2067f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTNFOjNEQzE3OkMyNzZDNjoxMENBOTJFOjZBNTNBNzBCIiwidmlzaXRvcl9pZCI6IjQ2NjM3ODg5NzcxNDg2MzQ4OTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a795c174332736d47fad5148ed3afa6faa3ecc2b159f24c2613d58e7e8b5a049 |
| hovercard-subject-tag | issue:321289519 |
| 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/11201/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1f5d9488371b182b515debdd3aa998018cc4beccddbde580f617289e2eab4716/matplotlib/matplotlib/issues/11201 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1f5d9488371b182b515debdd3aa998018cc4beccddbde580f617289e2eab4716/matplotlib/matplotlib/issues/11201 |
| og:image:alt | The RectangleSelector examples in the documentation (here and here) don't work properly in Jupyter notebooks. To fix, change the last line from: show() or plt.show() to show(block=True) or plt.show... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sorenrasmussen |
| 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