From acb1ceca95030fa117f209b96ffe710c359597dd Mon Sep 17 00:00:00 2001 From: Artem Pulkin Date: Sat, 3 Sep 2022 19:52:23 +0200 Subject: [PATCH] close #384 (sort of) --- proplot/figure.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proplot/figure.py b/proplot/figure.py index bc0ff6f0d..94441c9a4 100644 --- a/proplot/figure.py +++ b/proplot/figure.py @@ -1193,6 +1193,8 @@ def _align_axis_label(self, x): axs = ax._get_span_axes(pos, panels=False) # returns panel or main axes if any(getattr(ax, '_share' + x) for ax in axs): continue # nothing to align or axes have parents + _ref_label_text = getattr(ax, x + 'axis').label.get_text() + axs = list(_ax for _ax in axs if getattr(_ax, x + 'axis').label.get_text() == _ref_label_text) seen.update(axs) if span or align: if hasattr(self, '_align_label_groups'):