JuliaPy / JuliaPy/PyPlot.jl

PyPlot ignores bbox="tight" when saving

オープン
#446 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Julia
スター
488
フォーク
90
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by reproducing the Julia PyPlot savefig call with bbox_inches="tight" and pad_inches=0.0, then trace the savefig entry point to see how these keywords are passed. Done means the saved figure respects both options and the unchanged default padding is covered by a regression test.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
julia, python
領域
data-visualization
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。