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

Appearance settings

Commit e957fc8

Browse filesBrowse files
jklymakmeeseeksmachine
authored andcommitted
Backport PR #18260: Add parent widget to IntVar
1 parent 6c1e8e0 commit e957fc8
Copy full SHA for e957fc8

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/backends/_backend_tk.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/_backend_tk.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.