Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d9d5077

Browse filesBrowse files
committed
FIX: CL more stable
1 parent 99ba9f9 commit d9d5077
Copy full SHA for d9d5077

File tree

Expand file treeCollapse file tree

1 file changed

+0
-10
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-10
lines changed
Open diff view settings
Collapse file

‎lib/matplotlib/_constrained_layout.py‎

Copy file name to clipboardExpand all lines: lib/matplotlib/_constrained_layout.py
-10Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -399,15 +399,9 @@ def _align_spines(fig, gs):
399399
if height0 > height1:
400400
ax0._poslayoutbox.constrain_height_min(
401401
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))
406402
elif height0 < height1:
407403
ax1._poslayoutbox.constrain_height_min(
408404
ax0._poslayoutbox.height * height1 / height0)
409-
ax0._poslayoutbox.constrain_height_min(
410-
ax0._poslayoutbox.height * height0 / (height1*1.8))
411405
# For widths, do it if the subplots share a row.
412406
if not alignwidth and len(colspan0) == len(colspan1):
413407
ax0._poslayoutbox.constrain_width(
@@ -417,13 +411,9 @@ def _align_spines(fig, gs):
417411
if width0 > width1:
418412
ax0._poslayoutbox.constrain_width_min(
419413
ax1._poslayoutbox.width * width0 / width1)
420-
ax1._poslayoutbox.constrain_width_min(
421-
ax0._poslayoutbox.width * width1 / (width0*1.8))
422414
elif width0 < width1:
423415
ax1._poslayoutbox.constrain_width_min(
424416
ax0._poslayoutbox.width * width1 / width0)
425-
ax0._poslayoutbox.constrain_width_min(
426-
ax1._poslayoutbox.width * width0 / (width1*1.8))
427417

428418

429419
def _arrange_subplotspecs(gs, hspace=0, wspace=0):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.