Title: savefig PDF removing the negative sign from yticklabels · Issue #7963 · matplotlib/matplotlib · GitHub
Open Graph Title: savefig PDF removing the negative sign from yticklabels · Issue #7963 · matplotlib/matplotlib
X Title: savefig PDF removing the negative sign from yticklabels · Issue #7963 · matplotlib/matplotlib
Description: Bug report Bug summary In matplotlib 2.0, when using plt.savefig() as a pdf, the negative sign is removed from the y tick labels. import matplotlib.pyplot as plt plt.plot([-1, 2], [-1, 2]) plt.savefig('~/Desktop/test.png') plt.savefig('~...
Open Graph Description: Bug report Bug summary In matplotlib 2.0, when using plt.savefig() as a pdf, the negative sign is removed from the y tick labels. import matplotlib.pyplot as plt plt.plot([-1, 2], [-1, 2]) plt.save...
X Description: Bug report Bug summary In matplotlib 2.0, when using plt.savefig() as a pdf, the negative sign is removed from the y tick labels. import matplotlib.pyplot as plt plt.plot([-1, 2], [-1, 2]) plt.save...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/7963
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"savefig PDF removing the negative sign from yticklabels","articleBody":"### Bug report\r\n\r\n**Bug summary**\r\n\r\nIn matplotlib 2.0, when using plt.savefig() as a pdf, the negative sign is removed from the y tick labels.\r\n\r\nimport matplotlib.pyplot as plt\r\n\r\n```\r\nplt.plot([-1, 2], [-1, 2])\r\nplt.savefig('~/Desktop/test.png')\r\nplt.savefig('~/Desktop/test.pdf')\r\n```\r\n\r\n\r\n\r\n[test.pdf](https://github.com/matplotlib/matplotlib/files/736156/test.pdf)\r\n\r\n\r\nMatplotlib 2.0.0\r\nPython 3.5.2, Linux Mint 18.1\r\nInstalled matplotlib from conda, then most recently did conda update --all to upgrade to 2.0.0\r\n\r\nActually, going back and look it appears that this issue is not specific to Matplotlib 2.0.0, but was occurring before that as well. \r\n\r\nActually #2, this appears to be a seaborn issue as it only occurs after I import seaborn. I'll post an issue there.","author":{"url":"https://github.com/Auerilas","@type":"Person","name":"Auerilas"},"datePublished":"2017-01-27T20:06:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/7963/matplotlib/issues/7963"}
| 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:feae975c-fcb4-3633-f1da-e16df51a06ca |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC22:74892:23050:2FAB5:6A51C927 |
| html-safe-nonce | 7d80a13251b99266605462e861763c983f0275905aa4fb53f584db55e4563769 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzIyOjc0ODkyOjIzMDUwOjJGQUI1OjZBNTFDOTI3IiwidmlzaXRvcl9pZCI6IjU0MDkyODc0ODMxNzAwODEwNjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a086bdf9a47710f58132655609037659130ef4a55a4591b1fa583c74d592565d |
| hovercard-subject-tag | issue:203727792 |
| 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/7963/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ed8ffb2a58e5ebb2ece5a8394b9877d8f86a914d617b8970ab6e60fd81568791/matplotlib/matplotlib/issues/7963 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ed8ffb2a58e5ebb2ece5a8394b9877d8f86a914d617b8970ab6e60fd81568791/matplotlib/matplotlib/issues/7963 |
| og:image:alt | Bug report Bug summary In matplotlib 2.0, when using plt.savefig() as a pdf, the negative sign is removed from the y tick labels. import matplotlib.pyplot as plt plt.plot([-1, 2], [-1, 2]) plt.save... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Auerilas |
| 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