Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 01b9365

Browse files
committed
Merge pull request #4052 from sjhorst/tkagg_resize
MNT : removing minimum window size limit in tkAgg backend
2 parents 36a7a21 + 750d1b6 commit 01b9365

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/matplotlib/backends/backend_tkagg.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -530,9 +530,6 @@ def __init__(self, canvas, num, window):
530530
self.set_window_title("Figure %d" % num)
531531
self.canvas = canvas
532532
self._num = num
533-
_, _, w, h = canvas.figure.bbox.bounds
534-
w, h = int(w), int(h)
535-
self.window.minsize(int(w*3/4),int(h*3/4))
536533
if matplotlib.rcParams['toolbar']=='toolbar2':
537534
self.toolbar = NavigationToolbar2TkAgg( canvas, self.window )
538535
else:

0 commit comments

Comments
 (0)