Title: PS backend fails to save polar plot · Issue #2828 · matplotlib/matplotlib · GitHub
Open Graph Title: PS backend fails to save polar plot · Issue #2828 · matplotlib/matplotlib
X Title: PS backend fails to save polar plot · Issue #2828 · matplotlib/matplotlib
Description: This code: from matplotlib.pyplot import figure fig = figure() fig.add_subplot(212, polar=True) fig.savefig('fail.eps') fails with this error: Traceback (most recent call last): File "C:\Users\Ruben\Desktop\test.py", line 13, in
Open Graph Description: This code: from matplotlib.pyplot import figure fig = figure() fig.add_subplot(212, polar=True) fig.savefig('fail.eps') fails with this error: Traceback (most recent call last): File "C:\Users\Rube...
X Description: This code: from matplotlib.pyplot import figure fig = figure() fig.add_subplot(212, polar=True) fig.savefig('fail.eps') fails with this error: Traceback (most recent call last): File "...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/2828
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PS backend fails to save polar plot","articleBody":"This code:\n\n```\nfrom matplotlib.pyplot import figure\n\nfig = figure()\nfig.add_subplot(212, polar=True)\n\nfig.savefig('fail.eps')\n```\n\nfails with this error:\n\n```\nTraceback (most recent call last):\n File \"C:\\Users\\Ruben\\Desktop\\test.py\", line 13, in \u003cmodule\u003e\n fig.savefig('fail.eps')\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\figure.py\", line 1422, in savefig\n self.canvas.print_figure(*args, **kwargs)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\backends\\backend_qt4agg.py\", line 167, in print_figure\n FigureCanvasAgg.print_figure(self, *args, **kwargs)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\backend_bases.py\", line 2220, in print_figure\n **kwargs)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\backend_bases.py\", line 1947, in print_eps\n return ps.print_eps(*args, **kwargs)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\backends\\backend_ps.py\", line 981, in print_eps\n return self._print_ps(outfile, 'eps', *args, **kwargs)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\backends\\backend_ps.py\", line 1009, in _print_ps\n **kwargs)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\backends\\backend_ps.py\", line 1102, in _print_figure\n self.figure.draw(renderer)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\artist.py\", line 56, in draw_wrapper\n draw(artist, renderer, *args, **kwargs)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\figure.py\", line 1035, in draw\n func(*args)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\artist.py\", line 56, in draw_wrapper\n draw(artist, renderer, *args, **kwargs)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\axes.py\", line 2088, in draw\n a.draw(renderer)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\artist.py\", line 56, in draw_wrapper\n draw(artist, renderer, *args, **kwargs)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\axis.py\", line 1101, in draw\n tick.draw(renderer)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\artist.py\", line 56, in draw_wrapper\n draw(artist, renderer, *args, **kwargs)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\axis.py\", line 235, in draw\n self.gridline.draw(renderer)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\artist.py\", line 56, in draw_wrapper\n draw(artist, renderer, *args, **kwargs)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\lines.py\", line 563, in draw\n drawFunc(renderer, gc, tpath, affine.frozen())\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\lines.py\", line 939, in _draw_lines\n self._lineFunc(renderer, gc, path, trans)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\lines.py\", line 994, in _draw_dotted\n renderer.draw_path(gc, path, trans)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\backends\\backend_ps.py\", line 575, in draw_path\n self._draw_ps(ps, gc, rgbFace)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\backends\\backend_ps.py\", line 907, in _draw_ps\n id = self._get_clip_path(clippath, clippath_trans)\n File \"C:\\WinPython-64bit-3.3.3.2\\python-3.3.3.amd64\\lib\\site-packages\\matplotlib\\backends\\backend_ps.py\", line 556, in _get_clip_path\n id = self._clip_paths.get((clippath, clippath_transform))\nTypeError: unhashable type: 'Affine2D'\n```\n\nThis cannot be intentional.\n","author":{"url":"https://github.com/rubenvb","@type":"Person","name":"rubenvb"},"datePublished":"2014-02-21T14:22:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/2828/matplotlib/issues/2828"}
| 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:69b2c7d4-5311-1c6d-c55a-ee00e0c81754 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8DB4:3CE956:CB227D:1136E2D:6A52C3BD |
| html-safe-nonce | 9361940d52f0d93e29436e911f47041bc9eac1b22cf7a3f4d0f13c69f4801357 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REI0OjNDRTk1NjpDQjIyN0Q6MTEzNkUyRDo2QTUyQzNCRCIsInZpc2l0b3JfaWQiOiIyMzg5NDQxNTA4NTc3Mjk3MzQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bf35aff3dafc318fd59b1e3a87a10b41e19e630a29a52ffdab0354b4ec08cd26 |
| hovercard-subject-tag | issue:28044565 |
| 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/2828/issue_layout |
| twitter:image | https://opengraph.githubassets.com/15e820eba60ff29c9d969300e26d13285d22317ce22eca1471573ebaa7950781/matplotlib/matplotlib/issues/2828 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/15e820eba60ff29c9d969300e26d13285d22317ce22eca1471573ebaa7950781/matplotlib/matplotlib/issues/2828 |
| og:image:alt | This code: from matplotlib.pyplot import figure fig = figure() fig.add_subplot(212, polar=True) fig.savefig('fail.eps') fails with this error: Traceback (most recent call last): File "C:\Users\Rube... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rubenvb |
| 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