Closed
Description
When saving a matplotlib figure as PNG or SVG, the background is always saved as white canvas. This is somewhat confusing since the background color of a figure as displayed by matplotlib's interactive backend is gray.
Also, the white background makes the figure look foreign when embedded in something that does not have a white background.
I would suggest to change the default either to save the background
- in the color that is actually displayed, or
- as transparent.
Note that the letter is possible by explicitly setting
fig = pp.figure()
fig.patch.set_alpha(0.0)
Metadata
Metadata
Assignees
Labels
No labels