From c2f7ab6119e7de8efd6d4ccf877c707126bf4895 Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Tue, 3 Aug 2021 10:03:48 -0700 Subject: [PATCH] Backport PR #20786: Fixed typo in _constrained_layout.py (#20782) --- lib/matplotlib/_constrained_layout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/_constrained_layout.py b/lib/matplotlib/_constrained_layout.py index 245679394bc2..27393ce0bfcd 100644 --- a/lib/matplotlib/_constrained_layout.py +++ b/lib/matplotlib/_constrained_layout.py @@ -303,7 +303,7 @@ def _make_margin_suptitles(fig, renderer, *, w_pad=0, h_pad=0): bbox = inv_trans_fig(fig._supxlabel.get_tightbbox(renderer)) fig._layoutgrid.edit_margin_min('bottom', bbox.height + 2 * h_pad) - if fig._supylabel is not None and fig._supxlabel.get_in_layout(): + if fig._supylabel is not None and fig._supylabel.get_in_layout(): p = fig._supylabel.get_position() if getattr(fig._supylabel, '_autopos', False): fig._supylabel.set_position((w_pad_local, p[1])) 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