Title: Saving polar plots with MiKTeX on Windows fails for some file formats · Issue #14146 · matplotlib/matplotlib · GitHub
Open Graph Title: Saving polar plots with MiKTeX on Windows fails for some file formats · Issue #14146 · matplotlib/matplotlib
X Title: Saving polar plots with MiKTeX on Windows fails for some file formats · Issue #14146 · matplotlib/matplotlib
Description: Bug summary Saving matplotlib polar plots on Windows 7 and Windows 10, with MiKTex 2.9.7.000, fails for some formats (e.g., pdf, svg) and works for others (e.g., png, jpg) Code for reproduction import matplotlib.pyplot as plt import matp...
Open Graph Description: Bug summary Saving matplotlib polar plots on Windows 7 and Windows 10, with MiKTex 2.9.7.000, fails for some formats (e.g., pdf, svg) and works for others (e.g., png, jpg) Code for reproduction imp...
X Description: Bug summary Saving matplotlib polar plots on Windows 7 and Windows 10, with MiKTex 2.9.7.000, fails for some formats (e.g., pdf, svg) and works for others (e.g., png, jpg) Code for reproduction imp...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/14146
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Saving polar plots with MiKTeX on Windows fails for some file formats","articleBody":"**Bug summary**\r\n\r\nSaving matplotlib polar plots on Windows 7 and Windows 10, with MiKTex 2.9.7.000, fails for some formats (e.g., pdf, svg) and works for others (e.g., png, jpg)\r\n\r\n**Code for reproduction**\r\n\r\n\r\n```python\r\nimport matplotlib.pyplot as plt\r\nimport matplotlib as mpl\r\nmpl.rcParams['text.usetex'] = True\r\n\r\nplt.figure()\r\nax = plt.subplot(111, polar=True)\r\n\r\n\r\nplt.savefig('foo.png') # Works\r\nplt.savefig('foo.jpg') # Works\r\nplt.savefig('foo.tif') # Works\r\n# plt.savefig('foo.pdf') # Fails\r\n# plt.savefig('foo.svg') # Fails\r\nplt.show()\r\n```\r\n\r\n**Actual outcome**\r\n\r\n\"Error saving .... \" window pops up with error code b'tcss1000' for pdf, and b'tcss3583' for svg. (The numbers change)\r\n\r\n\r\n**Matplotlib version**\r\n\u003c!--Please specify your platform and versions of the relevant libraries you are using:--\u003e\r\n * Operating system: Windows 7 \u0026 10 \r\n * Matplotlib version: 2.2.2 or 3.0.3\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): Qt5Agg\r\n * Python version: 3.6\r\n * Jupyter version (if applicable): N/A\r\n * Other libraries: N/A\r\n\r\nInstalled via Anaconda3\r\n\r\n","author":{"url":"https://github.com/urogers","@type":"Person","name":"urogers"},"datePublished":"2019-05-06T21:37:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/14146/matplotlib/issues/14146"}
| 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:f6701ac3-e57e-fe6e-436f-435d0bcb879c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DDA6:3DC42C:E4673:133814:6A52DDC3 |
| html-safe-nonce | c0f297d8d7bdb1979679b8145d8aa3480e27e3f81f143c03cc398e9ebbfd9be0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREE2OjNEQzQyQzpFNDY3MzoxMzM4MTQ6NkE1MkREQzMiLCJ2aXNpdG9yX2lkIjoiMzEwNTQ3MzUyMzg4MTI3MDcyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8e474e7c4fc02af56e70bb5c0dd47617a6bbeef0a081a2e7b16d0b5bb57389ea |
| hovercard-subject-tag | issue:440909990 |
| 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/14146/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2978c2e6b0a849db4f0796864d225003f5f5479347634e179d5eab43c1ead90d/matplotlib/matplotlib/issues/14146 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2978c2e6b0a849db4f0796864d225003f5f5479347634e179d5eab43c1ead90d/matplotlib/matplotlib/issues/14146 |
| og:image:alt | Bug summary Saving matplotlib polar plots on Windows 7 and Windows 10, with MiKTex 2.9.7.000, fails for some formats (e.g., pdf, svg) and works for others (e.g., png, jpg) Code for reproduction imp... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | urogers |
| 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