Title: savefig.transparent has no effect when saving from UI · Issue #9080 · matplotlib/matplotlib · GitHub
Open Graph Title: savefig.transparent has no effect when saving from UI · Issue #9080 · matplotlib/matplotlib
X Title: savefig.transparent has no effect when saving from UI · Issue #9080 · matplotlib/matplotlib
Description: Bug report Bug summary The savefig.transparent rcparam does not affect figures saved from the GUI. Code for reproduction from pylab import * rcParams["savefig.transparent"] = True plot() show() then click on the save button to save a fig...
Open Graph Description: Bug report Bug summary The savefig.transparent rcparam does not affect figures saved from the GUI. Code for reproduction from pylab import * rcParams["savefig.transparent"] = True plot() show() the...
X Description: Bug report Bug summary The savefig.transparent rcparam does not affect figures saved from the GUI. Code for reproduction from pylab import * rcParams["savefig.transparent"] = True plot() ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/9080
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"savefig.transparent has no effect when saving from UI","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\n**Bug summary**\r\n\r\nThe savefig.transparent rcparam does not affect figures saved from the GUI.\r\n\r\n**Code for reproduction**\r\n\r\n\u003c!--A minimum code snippet required to reproduce the bug, also minimizing the number of dependencies required--\u003e\r\n\r\n```python\r\nfrom pylab import *\r\nrcParams[\"savefig.transparent\"] = True\r\nplot()\r\nshow()\r\n```\r\nthen click on the save button to save a figure.\r\n\r\n**Actual outcome**\r\n\r\n\u003c!--The output produced by the above code, which may be a screenshot, console output, etc.--\u003e\r\n\r\nThe figure has opaque background.\r\n\r\n**Expected outcome**\r\n\r\n\u003c!--A description of the expected outcome from the code snippet--\u003e\r\n\u003c!--If this used to work in an earlier version of Matplotlib, please note the version it used to work on--\u003e\r\n\r\nThe figure should have transparent background, just as it has when calling savefig().\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:\r\n * Matplotlib Version: 2.0.2 but apparently dates back to at least 1.5.0.\r\n * Python Version:\r\n * Jupyter Version (if applicable):\r\n * Other Libraries: \r\n\r\n\u003c!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--\u003e\r\n\u003c!--If you installed from conda, please specify which channel you used if not the default--\u003e\r\n\r\n","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2017-08-23T17:00:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/9080/matplotlib/issues/9080"}
| 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:83098047-4045-24c1-f28e-fc9897d2f580 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8B82:CF2E5:5BE796:7D0774:6A51EB4F |
| html-safe-nonce | dd4baa61dbe80fd0a1792229aa8f7d85123c2e407012f6503392c9595db3d639 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjgyOkNGMkU1OjVCRTc5Njo3RDA3NzQ6NkE1MUVCNEYiLCJ2aXNpdG9yX2lkIjoiODc4MzQ4ODI5NTcwNTM3MzUxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 70a050e6328fb3a8b481d69869f078c1c48ea4bd49d8efea7d959db9264aacbc |
| hovercard-subject-tag | issue:252351396 |
| 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/9080/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bc0327a2553cdf5fd203267975b0271a27b234949dd0ea07c8e8114e63fa1817/matplotlib/matplotlib/issues/9080 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bc0327a2553cdf5fd203267975b0271a27b234949dd0ea07c8e8114e63fa1817/matplotlib/matplotlib/issues/9080 |
| og:image:alt | Bug report Bug summary The savefig.transparent rcparam does not affect figures saved from the GUI. Code for reproduction from pylab import * rcParams["savefig.transparent"] = True plot() show() the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| 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