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