From cdc7bde6856fe16b64d430ea95a6a7ffed9e9946 Mon Sep 17 00:00:00 2001 From: Kyle Sunden Date: Fri, 3 Mar 2023 09:56:31 -0600 Subject: [PATCH] Backport PR #25371: Tk: Fix size of spacers when changing display DPI --- lib/matplotlib/backends/_backend_tk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/backends/_backend_tk.py b/lib/matplotlib/backends/_backend_tk.py index f26619c55ec1..4e5c00251a54 100644 --- a/lib/matplotlib/backends/_backend_tk.py +++ b/lib/matplotlib/backends/_backend_tk.py @@ -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: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy