Skip to content

Commit 86e544a

Browse files
authored
Merge pull request matplotlib#25992 from anntzer/gsf
Document that GridSpec.get_subplot_params ignores gridspec.figure.
2 parents 18b16f3 + 326ee42 commit 86e544a

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
@@ -418,6 +418,8 @@ def get_subplot_params(self, figure=None):
418418
- non-*None* attributes of the GridSpec
419419
- the provided *figure*
420420
- :rc:`figure.subplot.*`
421+
422+
Note that the ``figure`` attribute of the GridSpec is always ignored.
421423
"""
422424
if figure is None:
423425
kw = {k: mpl.rcParams["figure.subplot."+k]

0 commit comments

Comments
 (0)