Skip to content

Commit

Permalink
Backport PR matplotlib#25371: Tk: Fix size of spacers when changing d…
Browse files Browse the repository at this point in the history
…isplay DPI
  • Loading branch information
ksunden authored and meeseeksmachine committed Mar 3, 2023
1 parent 4fcd0a0 commit cdc7bde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/matplotlib/backends/_backend_tk.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,8 +675,8 @@ def _rescale(self):
# Text-only button is handled by the font setting instead.
pass
elif isinstance(widget, tk.Frame):
widget.configure(height='22p', pady='1p')
widget.pack_configure(padx='4p')
widget.configure(height='18p')
widget.pack_configure(padx='3p')
elif isinstance(widget, tk.Label):
pass # Text is handled by the font setting instead.
else:
Expand Down

0 comments on commit cdc7bde

Please sign in to comment.