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

Skip to content

Commit b6ea6d7

Browse files
authored
Merge pull request #25996 from meeseeksmachine/auto-backport-of-pr-25992-on-v3.7.x
Backport PR #25992 on branch v3.7.x (Document that GridSpec.get_subplot_params ignores gridspec.figure.)
2 parents e37f718 + 1d529de commit b6ea6d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/gridspec.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,8 @@ def get_subplot_params(self, figure=None):
419419
- non-*None* attributes of the GridSpec
420420
- the provided *figure*
421421
- :rc:`figure.subplot.*`
422+
423+
Note that the ``figure`` attribute of the GridSpec is always ignored.
422424
"""
423425
if figure is None:
424426
kw = {k: mpl.rcParams["figure.subplot."+k]

0 commit comments

Comments
 (0)