Skip to content

Commit 1d529de

Browse files
rcomermeeseeksmachine
authored andcommitted
Backport PR matplotlib#25992: Document that GridSpec.get_subplot_params ignores gridspec.figure.
1 parent e37f718 commit 1d529de

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)