Skip to content

Commit 8f23c95

Browse files
committed
FIX: fix autopos and constrainedlayout if parallel co-ord
1 parent f8f6939 commit 8f23c95

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/matplotlib/figure.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,10 @@ def _suplabels(self, t, info, **kwargs):
370370

371371
x = kwargs.pop('x', None)
372372
y = kwargs.pop('y', None)
373-
autopos = x is None and y is None
373+
if info['name'] in ['_supxlabel', '_suptitle']:
374+
autopos = y is None
375+
elif info['name'] == '_supylabel':
376+
autopos = x is None
374377
if x is None:
375378
x = info['x0']
376379
if y is None:

0 commit comments

Comments
 (0)