@@ -403,15 +403,9 @@ def _align_spines(fig, gs):
403403 if height0 > height1 :
404404 ax0 ._poslayoutbox .constrain_height_min (
405405 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 ))
410406 elif height0 < height1 :
411407 ax1 ._poslayoutbox .constrain_height_min (
412408 ax0 ._poslayoutbox .height * height1 / height0 )
413- ax0 ._poslayoutbox .constrain_height_min (
414- ax0 ._poslayoutbox .height * height0 / (height1 * 1.8 ))
415409 # For widths, do it if the subplots share a row.
416410 if not alignwidth and len (colspan0 ) == len (colspan1 ):
417411 ax0 ._poslayoutbox .constrain_width (
@@ -421,13 +415,9 @@ def _align_spines(fig, gs):
421415 if width0 > width1 :
422416 ax0 ._poslayoutbox .constrain_width_min (
423417 ax1 ._poslayoutbox .width * width0 / width1 )
424- ax1 ._poslayoutbox .constrain_width_min (
425- ax0 ._poslayoutbox .width * width1 / (width0 * 1.8 ))
426418 elif width0 < width1 :
427419 ax1 ._poslayoutbox .constrain_width_min (
428420 ax0 ._poslayoutbox .width * width1 / width0 )
429- ax0 ._poslayoutbox .constrain_width_min (
430- ax1 ._poslayoutbox .width * width0 / (width1 * 1.8 ))
431421
432422
433423def _arrange_subplotspecs (gs , hspace = 0 , wspace = 0 ):
0 commit comments