Skip to content

Commit acb1cec

Browse files
committed
close proplot-dev#384 (sort of)
1 parent 29bc955 commit acb1cec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

proplot/figure.py

+2
Original file line numberDiff line numberDiff line change
@@ -1193,6 +1193,8 @@ def _align_axis_label(self, x):
11931193
axs = ax._get_span_axes(pos, panels=False) # returns panel or main axes
11941194
if any(getattr(ax, '_share' + x) for ax in axs):
11951195
continue # nothing to align or axes have parents
1196+
_ref_label_text = getattr(ax, x + 'axis').label.get_text()
1197+
axs = list(_ax for _ax in axs if getattr(_ax, x + 'axis').label.get_text() == _ref_label_text)
11961198
seen.update(axs)
11971199
if span or align:
11981200
if hasattr(self, '_align_label_groups'):

0 commit comments

Comments
 (0)