matplotlib / matplotlib/mpl-gui
Differences with show() between backends
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 17
- フォーク
- 7
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I was just testing out the examples from the docs and figured I would put some quick findings here while running on a Mac.
* Documentation: Change `subplot_module` to `subplot_mosaic` in a couple of places in the code samples
* `qt5agg`: mg.show() does not exit after closing both figures, the event loop keeps running
* `macosx`: mg.show() closing one figure closes all of the figures, as if the closeWindow gets sent to every figure, not just the one clicked.
* `tkagg`: In the second `fr.show()` call in the examples I get this error: `_tkinter.TclError: can't invoke "wm" command: application has been destroyed` (macosx seems to get through this and the qt5agg I don't think ever even gets here due to the event loop not quiting after the first show() as mentioned above)
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、macOS 上で qt5agg、macosx、tkagg バックエンドを使用して、ドキュメント化された例を再現します。その際、それぞれで報告されている show() と figure のクローズ動作に焦点を当てます。subplot_module を含む例と、報告で言及されているバックエンド固有の show/close エントリーポイントを確認します。完了条件は、サンプルが subplot_mosaic を使用し、各バックエンドが報告されている event-loop、ウィンドウのクローズ、2 回目の show() のケースを、記載されたエラーなしで処理することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- desktop
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100