Title: Qt4 backend using unichr() in python3 · Issue #3117 · matplotlib/matplotlib · GitHub
Open Graph Title: Qt4 backend using unichr() in python3 · Issue #3117 · matplotlib/matplotlib
X Title: Qt4 backend using unichr() in python3 · Issue #3117 · matplotlib/matplotlib
Description: I get a NameError exception (see backtrace below) when trying to use key events in matplotlib (master branch rev: e322d5f), python 3.4.1, and pyqt 4.10. This has been posted to the matplotlib-users ml: http://thread.gmane.org/gmane.comp....
Open Graph Description: I get a NameError exception (see backtrace below) when trying to use key events in matplotlib (master branch rev: e322d5f), python 3.4.1, and pyqt 4.10. This has been posted to the matplotlib-users...
X Description: I get a NameError exception (see backtrace below) when trying to use key events in matplotlib (master branch rev: e322d5f), python 3.4.1, and pyqt 4.10. This has been posted to the matplotlib-users...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3117
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Qt4 backend using unichr() in python3","articleBody":"I get a NameError exception (see backtrace below) when trying to use key\nevents in matplotlib (master branch rev:\ne322d5f5bb024bbec44d3ba76da1bc16bf52af9c), python 3.4.1, and pyqt 4.10.\nThis has been posted to the matplotlib-users ml: http://thread.gmane.org/gmane.comp.python.matplotlib.general/34364\n\n``` python\nNameError Traceback (most recent call last)\n/home/jscandal/sw/matplotlib/matplotlib/lib/matplotlib/backends/backend_qt4.py\nin\nkeyReleaseEvent(self=\u003cmatplotlib.backends.backend_qt4agg.FigureCanvasQTAgg\nobject\u003e, event=\u003cPyQt4.QtGui.QKeyEvent object\u003e)\n 308 \n 309 def keyReleaseEvent(self, event):\n--\u003e 310 key = self._get_key(event)\n key = undefined\n self._get_key = \u003cbound method FigureCanvasQTAgg._get_key of\n\u003cmatplotlib.backends.backend_qt4agg.FigureCanvasQTAgg object at 0x7f0393412948\u003e\u003e\n event = \u003cPyQt4.QtGui.QKeyEvent object at 0x7f0393507a68\u003e\n 311 if key is None:\n 312 return\n\n/home/jscandal/sw/matplotlib/matplotlib/lib/matplotlib/backends/backend_qt4.py\nin _get_key(self=\u003cmatplotlib.backends.backend_qt4agg.FigureCanvasQTAgg\nobject\u003e, event=\u003cPyQt4.QtGui.QKeyEvent object\u003e)\n 363 return None\n 364 \n--\u003e 365 key = unichr(event_key)\n key = undefined\n global unichr = undefined\n global event_key = undefined\n 366 # qt delivers capitalized letters. fix capitalization\n 367 # note that capslock is ignored\n\nNameError: name 'unichr' is not defined\n```\n","author":{"url":"https://github.com/jorgesca","@type":"Person","name":"jorgesca"},"datePublished":"2014-06-05T21:55:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/3117/matplotlib/issues/3117"}
| 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:d69314d0-47f5-18f2-c5d2-fc3b20714026 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C650:283814:1A5BE2:234603:6A52C427 |
| html-safe-nonce | e1717145af52260b620d11a74bd60ba264de3e48def26d04fa99d743f9be8976 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjUwOjI4MzgxNDoxQTVCRTI6MjM0NjAzOjZBNTJDNDI3IiwidmlzaXRvcl9pZCI6IjgzMTQ2MDUwODgyMDg1MDM4NDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1e71615c96eec4b881ee4a57dcf888f8c3feb8e0e4a4cc04c022fd5e0b652b8e |
| hovercard-subject-tag | issue:35101708 |
| 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/3117/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ea8d7fb5f475f898c692226fc52b2fa3a0d637ce651c9fc968baf42fa9e66c0d/matplotlib/matplotlib/issues/3117 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ea8d7fb5f475f898c692226fc52b2fa3a0d637ce651c9fc968baf42fa9e66c0d/matplotlib/matplotlib/issues/3117 |
| og:image:alt | I get a NameError exception (see backtrace below) when trying to use key events in matplotlib (master branch rev: e322d5f), python 3.4.1, and pyqt 4.10. This has been posted to the matplotlib-users... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jorgesca |
| 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