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 5fb1060

Browse filesBrowse 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
Copy full SHA for 5fb1060

File tree

Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed

‎lib/matplotlib/backends/_backend_tk.py

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