Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Matplotlib backend issue (TkAgg)

オープン
#1,652 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
matplotlib, python
領域
devtools

調査の方向性

まず、Python 3.9.5、Matplotlib 3.9.1–3.9.2、VS Code 1.92.1を使用して、VS Codeデバッガーで空白のまま反応しないTkAgg figureを再現します。デバッガーの動作と報告されたバックエンドを通常のスクリプト実行時と比較し、リンクされたMatplotlib issueを確認します。バックエンドの不一致の原因と、デバッガー固有のプロット動作が特定できれば完了です。

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

説明

bug

Hey, I am having an issue plotting stuff in the debugger.

When I import matplotlib and print the backend, the output is 'tkagg'.
When I try to plot something, I will get an unresponsive blank figure (unless i call pause which will make desired plot appear but albeit remain unresponsive). When I set backend to 'TkAgg', it works as expected.

When I run the script normally not in the debugger, everything works fine and the plot appears.

What is weird is that my colleague has the same versions of python matplotlib and vs code yet by default has a backend of 'TkAgg'.
I am not sure what's causing this discrepancy in default backend between the two of us. In any case, according to matplotlib documentation and the linked issue, tkagg and TkAgg should be equivalent.

Relevant issue: Matplotlib
VS Code version: 1.92.1
Python: 3.9.5
Matplotlib: (3.9.1 - 3.9.2)

主要言語
Python
スター
2.5k
フォーク
202
平均マージ
5日 1時間
マージ済み PR(30日)
1

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/debugpy のほかの issue

microsoft/debugpy の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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