Title: Matplotlib produces blank eps images when text.usetex option is True in matplotlibrc · Issue #17373 · matplotlib/matplotlib · GitHub
Open Graph Title: Matplotlib produces blank eps images when text.usetex option is True in matplotlibrc · Issue #17373 · matplotlib/matplotlib
X Title: Matplotlib produces blank eps images when text.usetex option is True in matplotlibrc · Issue #17373 · matplotlib/matplotlib
Description: Bug report When I try to save a plot as an EPS file with savefig() function, the result is just blank image. If I set text.usetex option to False, everything looks fine. The problem is only with EPS format. PDF or PNG files are produced ...
Open Graph Description: Bug report When I try to save a plot as an EPS file with savefig() function, the result is just blank image. If I set text.usetex option to False, everything looks fine. The problem is only with EP...
X Description: Bug report When I try to save a plot as an EPS file with savefig() function, the result is just blank image. If I set text.usetex option to False, everything looks fine. The problem is only with EP...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/17373
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Matplotlib produces blank eps images when text.usetex option is True in matplotlibrc","articleBody":"\u003c!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--\u003e\r\n\u003c!--You can feel free to delete the sections that do not apply.--\u003e\r\n\r\n### Bug report\r\n\r\nWhen I try to save a plot as an EPS file with savefig() function, the result is just blank image. If I set text.usetex option to False, everything looks fine. The problem is only with EPS format. PDF or PNG files are produced correctly regardless of text.usetex option.\r\n\r\n\u003c!--A short 1-2 sentences that succinctly describes the bug--\u003e\r\n\r\n**Code for reproduction**\r\n\u003c!--A minimum code snippet required to reproduce the bug.\r\nPlease make sure to minimize the number of dependencies required, and provide\r\nany necessary plotted data.\r\nAvoid using threads, as Matplotlib is (explicitly) not thread-safe.--\u003e\r\nThe code can be as simple as\r\n```python\r\nfrom matplotlib import pyplot as plt \r\n \r\nplt.plot([1, 2], [1, 2]) \r\nplt.savefig(\"test.eps\") \r\n```\r\n\r\n**Actual outcome**\r\nBlank EPS file (but it's size is 182K). \r\n\r\n**Expected outcome**\r\nEPS file containing an actual plot.\r\n\r\n**Matplotlib version**\r\n\r\n * Operating system: Arch linux, everything is up to date\r\n * Matplotlib version: 3.2.1, installed using Arch package manager\r\n * Matplotlib backend: Qt5Agg\r\n * Python version: 3.8.2\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/latrop","@type":"Person","name":"latrop"},"datePublished":"2020-05-09T15:01:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/17373/matplotlib/issues/17373"}
| 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:8f31a117-4986-16b5-938a-5de8c9d2d3e5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E9FE:3FEE07:192AAD5:22558EF:6A547403 |
| html-safe-nonce | e3f4394e03586df271fb04805bbaa69cc4e664b3d933c262f59deffc8e0f0d47 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUZFOjNGRUUwNzoxOTJBQUQ1OjIyNTU4RUY6NkE1NDc0MDMiLCJ2aXNpdG9yX2lkIjoiMTk0MTE0ODc5NTIwNDMwMTgyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5611f4f417d0744a726b22fc9b9742d4ece78dba66356bcc983b08178ca8f934 |
| hovercard-subject-tag | issue:615194466 |
| 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/17373/issue_layout |
| twitter:image | https://opengraph.githubassets.com/debccdae9ec631161a6c6e2d8979a0c2e679abdc6406f90ad8a4eafc3115ebab/matplotlib/matplotlib/issues/17373 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/debccdae9ec631161a6c6e2d8979a0c2e679abdc6406f90ad8a4eafc3115ebab/matplotlib/matplotlib/issues/17373 |
| og:image:alt | Bug report When I try to save a plot as an EPS file with savefig() function, the result is just blank image. If I set text.usetex option to False, everything looks fine. The problem is only with EP... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | latrop |
| 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 | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width