@@ -403,15 +403,9 @@ def _align_spines(fig, gs):
403
403
if height0 > height1 :
404
404
ax0 ._poslayoutbox .constrain_height_min (
405
405
ax1 ._poslayoutbox .height * height0 / height1 )
406
- # these constraints stop the smaller axes from
407
- # being allowed to go to zero height...
408
- ax1 ._poslayoutbox .constrain_height_min (
409
- ax0 ._poslayoutbox .height * height1 / (height0 * 1.8 ))
410
406
elif height0 < height1 :
411
407
ax1 ._poslayoutbox .constrain_height_min (
412
408
ax0 ._poslayoutbox .height * height1 / height0 )
413
- ax0 ._poslayoutbox .constrain_height_min (
414
- ax0 ._poslayoutbox .height * height0 / (height1 * 1.8 ))
415
409
# For widths, do it if the subplots share a row.
416
410
if not alignwidth and len (colspan0 ) == len (colspan1 ):
417
411
ax0 ._poslayoutbox .constrain_width (
@@ -421,13 +415,9 @@ def _align_spines(fig, gs):
421
415
if width0 > width1 :
422
416
ax0 ._poslayoutbox .constrain_width_min (
423
417
ax1 ._poslayoutbox .width * width0 / width1 )
424
- ax1 ._poslayoutbox .constrain_width_min (
425
- ax0 ._poslayoutbox .width * width1 / (width0 * 1.8 ))
426
418
elif width0 < width1 :
427
419
ax1 ._poslayoutbox .constrain_width_min (
428
420
ax0 ._poslayoutbox .width * width1 / width0 )
429
- ax0 ._poslayoutbox .constrain_width_min (
430
- ax1 ._poslayoutbox .width * width0 / (width1 * 1.8 ))
431
421
432
422
433
423
def _arrange_subplotspecs (gs , hspace = 0 , wspace = 0 ):
0 commit comments