Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 49acd2e

Browse files
authored
Second try link
1 parent f6b0130 commit 49acd2e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/matplotlib/figure.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,8 @@ def set_constrained_layout_pads(self, **kwargs):
554554
"""
555555
Set padding for ``constrained_layout``. Note the kwargs can be passed
556556
as a dictionary ``fig.set_constrained_layout(**paddict)``.
557+
558+
See :doc:`/tutorials/intermediate/constrainedlayout_guide`
557559
558560
Parameters
559561
----------
@@ -574,7 +576,6 @@ def set_constrained_layout_pads(self, **kwargs):
574576
Height padding between subplots, expressed as a fraction of the
575577
subplot width. The total padding ends up being h_pad + hspace.
576578
577-
See :doc:`/tutorials/intermediate/constrainedlayout_guide`
578579
"""
579580

580581
todo = ['w_pad', 'h_pad', 'wspace', 'hspace']
@@ -591,14 +592,14 @@ def get_constrained_layout_pads(self, relative=False):
591592
592593
Returns a list of `w_pad, h_pad` in inches and
593594
`wspace` and `hspace` as fractions of the subplot.
594-
595+
596+
See :doc:`/tutorials/intermediate/constrainedlayout_guide`
597+
595598
Parameters
596599
----------
597600
598601
relative : boolean
599602
If `True`, then convert from inches to figure relative.
600-
601-
See :doc:`/tutorials/intermediate/constrainedlayout_guide`
602603
"""
603604
w_pad = self._constrained_layout_pads['w_pad']
604605
h_pad = self._constrained_layout_pads['h_pad']

0 commit comments

Comments
 (0)