Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb1452eb

Browse files
authored
Merge pull request#18263 from meeseeksmachine/auto-backport-of-pr-18260-on-v3.3.x
Backport PR#18260 on branch v3.3.x (Add parent widget to IntVar)
2 parents6c1e8e0 +e957fc8 commitb1452eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/backends/_backend_tk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ def _Button(self, text, image_file, toggle, command):
575575
# other near checkbuttons
576576
# https://bugs.python.org/issue29402
577577
# https://bugs.python.org/issue25684
578-
var=tk.IntVar()
578+
var=tk.IntVar(master=self)
579579
b=tk.Checkbutton(
580580
master=self,text=text,image=image,command=command,
581581
indicatoron=False,variable=var)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp