8000 Merge pull request #16979 from meeseeksmachine/auto-backport-of-pr-16… · matplotlib/matplotlib@5fb1060 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5fb1060

Browse files
authored
Merge pull request #16979 from meeseeksmachine/auto-backport-of-pr-16970-on-v3.2.x
Backport PR #16970 on branch v3.2.x (tk: Don't resize toolbar during resize event.)
2 parents b3e8fca + ec9ac44 commit 5fb1060

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
@@ -462,9 +462,6 @@ def _get_toolmanager(self):
462462
def resize(self, width, height):
463463
self.canvas._tkcanvas.configure(width=width, height=height)
464464

465-
if self.toolbar is not None:
466-
self.toolbar.configure(width=width)
467-
468465
def show(self):
469466
with _restore_foreground_window_at_end():
470467
if not self._shown:

0 commit comments

Comments
 (0)
0