Title: SIGINT is ignored by MacOSX backend · Issue #3991 · matplotlib/matplotlib · GitHub
Open Graph Title: SIGINT is ignored by MacOSX backend · Issue #3991 · matplotlib/matplotlib
X Title: SIGINT is ignored by MacOSX backend · Issue #3991 · matplotlib/matplotlib
Description: Here is an example: import matplotlib #matplotlib.use('Qt4Agg') from matplotlib import pyplot as plt plt.plot(1, 1) plt.show() Run this script from terminal, wait for the window to appear and press Ctrl-C (in terminal). The script will n...
Open Graph Description: Here is an example: import matplotlib #matplotlib.use('Qt4Agg') from matplotlib import pyplot as plt plt.plot(1, 1) plt.show() Run this script from terminal, wait for the window to appear and press...
X Description: Here is an example: import matplotlib #matplotlib.use('Qt4Agg') from matplotlib import pyplot as plt plt.plot(1, 1) plt.show() Run this script from terminal, wait for the window to appear a...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3991
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SIGINT is ignored by MacOSX backend","articleBody":"Here is an example:\n\n```\nimport matplotlib\n#matplotlib.use('Qt4Agg')\nfrom matplotlib import pyplot as plt\nplt.plot(1, 1)\nplt.show()\n```\n\nRun this script from terminal, wait for the window to appear and press Ctrl-C (in terminal). The script will not die.\nThen uncomment the `matplotlib.use` line an Ctrl-C will work as intended.\n\nUPD:\nIf I press Ctrl-C and then move mouse over the plot window the following exception appears in the log:\n\n```\nTraceback (most recent call last):\n File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/matplotlib/backend_bases.py\", line 1850, in enter_notify_event\n def enter_notify_event(self, guiEvent=None, xy=None):\nKeyboardInterrupt\n```\n\nThe same is for callback set using `signal.signal(signal.SIGTERM, cb)`, callback is not called until window receives any event (focus change, mouse move, etc).\n","author":{"url":"https://github.com/Equidamoid","@type":"Person","name":"Equidamoid"},"datePublished":"2015-01-10T07:40:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/3991/matplotlib/issues/3991"}
| 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:27674f9c-9c6f-abd8-5912-94bc20cab976 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D35E:25BA60:2CC4852:3C88BCB:6A53C30F |
| html-safe-nonce | ed0214eaa6895f2294e3a3dc91ed86ea91f27e70df04876824b07a515a939d86 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzVFOjI1QkE2MDoyQ0M0ODUyOjNDODhCQ0I6NkE1M0MzMEYiLCJ2aXNpdG9yX2lkIjoiODE5MTE4MTA0MjUyMDE0NjcwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c1d1f00fd1fe9c8436dc165115f205369e76e2760f7cee49e124cbeb6a8d7af2 |
| hovercard-subject-tag | issue:53950368 |
| 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/3991/issue_layout |
| twitter:image | https://opengraph.githubassets.com/74a97839f2435be89c073bd7f17ae1a04cdc72270702ee94c04216fd5b8b01a9/matplotlib/matplotlib/issues/3991 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/74a97839f2435be89c073bd7f17ae1a04cdc72270702ee94c04216fd5b8b01a9/matplotlib/matplotlib/issues/3991 |
| og:image:alt | Here is an example: import matplotlib #matplotlib.use('Qt4Agg') from matplotlib import pyplot as plt plt.plot(1, 1) plt.show() Run this script from terminal, wait for the window to appear and press... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Equidamoid |
| 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