Title: examples/cursor.py gives RuntimeError on mac osx · Issue #3708 · matplotlib/matplotlib · GitHub
Open Graph Title: examples/cursor.py gives RuntimeError on mac osx · Issue #3708 · matplotlib/matplotlib
X Title: examples/cursor.py gives RuntimeError on mac osx · Issue #3708 · matplotlib/matplotlib
Description: I ran cursor.py, downloaded from the matplotlib/examples/widgets web page. I'm on mac osx 10.9.4, anaconda latest as of today, matplotlib 1.3.1 the output is this: 79-118-141-238:wigets ifmichael$ python cursor.py Traceback (most recent ...
Open Graph Description: I ran cursor.py, downloaded from the matplotlib/examples/widgets web page. I'm on mac osx 10.9.4, anaconda latest as of today, matplotlib 1.3.1 the output is this: 79-118-141-238:wigets ifmichael$ ...
X Description: I ran cursor.py, downloaded from the matplotlib/examples/widgets web page. I'm on mac osx 10.9.4, anaconda latest as of today, matplotlib 1.3.1 the output is this: 79-118-141-238:wigets ifmicha...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3708
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"examples/cursor.py gives RuntimeError on mac osx","articleBody":"I ran cursor.py, downloaded from the matplotlib/examples/widgets web page.\n\nI'm on mac osx 10.9.4, anaconda latest as of today, matplotlib 1.3.1\n\nthe output is this:\n\n``` python\n\n79-118-141-238:wigets ifmichael$ python cursor.py\nTraceback (most recent call last):\n File \"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/artist.py\", line 55, in draw_wrapper\n draw(artist, renderer, *args, **kwargs)\n File \"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/figure.py\", line 1040, in draw\n self.canvas.draw_event(renderer)\n File \"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/backend_bases.py\", line 1693, in draw_event\n self.callbacks.process(s, event)\n File \"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/cbook.py\", line 527, in process\n proxy(*args, **kwargs)\n File \"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/cbook.py\", line 405, in __call__\n return mtd(*args, **kwargs)\n File \"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/widgets.py\", line 865, in clear\n self.background = self.canvas.copy_from_bbox(self.ax.bbox)\nAttributeError: 'FigureCanvasMac' object has no attribute 'copy_from_bbox'\nTraceback (most recent call last):\n File \"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/backend_bases.py\", line 1834, in motion_notify_event\n self.callbacks.process(s, event)\n File \"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/cbook.py\", line 527, in process\n proxy(*args, **kwargs)\n File \"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/cbook.py\", line 405, in __call__\n return mtd(*args, **kwargs)\n File \"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/widgets.py\", line 892, in onmove\n self._update()\n File \"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/widgets.py\", line 899, in _update\n self.ax.draw_artist(self.linev)\n File \"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/axes.py\", line 2098, in draw_artist\n a.draw(self._cachedRenderer)\n File \"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/artist.py\", line 55, in draw_wrapper\n draw(artist, renderer, *args, **kwargs)\n File \"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/lines.py\", line 526, in draw\n gc = renderer.new_gc()\n File \"/Users/ifmichael/anaconda/lib/python2.7/site-packages/matplotlib/backends/backend_macosx.py\", line 97, in new_gc\n self.gc.save()\nRuntimeError: CGContextRef is NULL\n\n```\n\nMaybe this issue was resolved in 1.4.0, but I cannot install it (see #3517)\n","author":{"url":"https://github.com/ifmihai","@type":"Person","name":"ifmihai"},"datePublished":"2014-10-23T11:11:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/3708/matplotlib/issues/3708"}
| 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:cfd76386-c989-cba8-141d-9af314c738b4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B3D0:2F9317:70FF1:959FA:6A524AB0 |
| html-safe-nonce | 81ce72854c99f066d7dab2632a5606331012a4ed59b1061439340516727dc277 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0QwOjJGOTMxNzo3MEZGMTo5NTlGQTo2QTUyNEFCMCIsInZpc2l0b3JfaWQiOiI1NjUzOTQxNzIyNDMyMDMxNDA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 076699a57a8e68428353f209efb8b214924e66b6fbb9fcad2bd9f99d7dba19a4 |
| hovercard-subject-tag | issue:46613125 |
| 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/3708/issue_layout |
| twitter:image | https://opengraph.githubassets.com/94ac04dec6c909f8efa81d1e08e5738d310eeb4454183c3190dc1983cd461204/matplotlib/matplotlib/issues/3708 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/94ac04dec6c909f8efa81d1e08e5738d310eeb4454183c3190dc1983cd461204/matplotlib/matplotlib/issues/3708 |
| og:image:alt | I ran cursor.py, downloaded from the matplotlib/examples/widgets web page. I'm on mac osx 10.9.4, anaconda latest as of today, matplotlib 1.3.1 the output is this: 79-118-141-238:wigets ifmichael$ ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ifmihai |
| 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