JuliaPy / JuliaPy/PyPlot.jl

PyPlot ignores bbox="tight" when saving

Offen
#446 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Julia
Sterne
488
Forks
90
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I have searched the forums of stackoverflow and others to save a figure in pyplot without any padding, frame or axes/ticks. There seems to be an array of solutions, none of them seem to work on the Julia interface to PyPlot. Specifically, when I use
`savefig(outname, bbox_inches="tight", pad_inches=0.0, frameon=false, dpi=90)`
it seems to ignore completely both the bbox_inches and the pad_inches keywords. The saved figure
has exactly the same white unsymmetrical frame that all default figures have. `frameon` only seems to make it transparent, not to eliminate it.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.