8000 Backport PR #16970: tk: Don't resize toolbar during resize event. · matplotlib/matplotlib@ec9ac44 · GitHub
[go: up one dir, main page]

Skip to content

Commit ec9ac44

Browse files
timhoffmmeeseeksmachine
authored andcommitted
Backport PR #16970: tk: Don't resize toolbar during resize event.
1 parent b3e8fca commit ec9ac44

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