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

Skip to content

Commit 98560a8

Browse files
authored
Merge pull request #16970 from QuLogic/tk-shrink
tk: Don't resize toolbar during resize event.
2 parents d397831 + cbf41ab commit 98560a8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/matplotlib/backends/_backend_tk.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,9 +448,6 @@ def _get_toolmanager(self):
448448
def resize(self, width, height):
449449
self.canvas._tkcanvas.configure(width=width, height=height)
450450

451-
if self.toolbar is not None:
452-
self.toolbar.configure(width=width)
453-
454451
def show(self):
455452
with _restore_foreground_window_at_end():
456453
if not self._shown:

0 commit comments

Comments
 (0)