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 cbf41ab

Browse filesBrowse files
committed
tk: Don't resize toolbar during resize event.
It is already resized by Tk due to its packing mode, and doing it manually causes the window to grow erratically during resize.
1 parent 84e872d commit cbf41ab
Copy full SHA for cbf41ab

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
@@ -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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.