savefig.transparent has no effect when saving from UI · Issue #9080 · matplotlib/matplotlib · GitHub
Skip to content

savefig.transparent has no effect when saving from UI #9080

Description

@anntzer

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 figure.

Actual outcome

The figure has opaque background.

Expected outcome

The figure should have transparent background, just as it has when calling savefig().

Matplotlib version

  • Operating System:
  • Matplotlib Version: 2.0.2 but apparently dates back to at least 1.5.0.
  • Python Version:
  • Jupyter Version (if applicable):
  • Other Libraries:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions