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

Skip to content

Commit efc2309

Browse files
committed
DOC [ci doc]
1 parent 6f63361 commit efc2309

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/matplotlib/figure.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,6 +1503,11 @@ def add_gridspec(self, nrows=1, ncols=1, **kwargs):
15031503
"""
15041504
Create a low-level `.GridSpec` that has this figure as a parent.
15051505
1506+
This is a low-level API, allowing you to create a gridspec and
1507+
subsequently add subplots based on the gridspec. Most users do
1508+
not need that freedom and should use the higher-level methods
1509+
`~.Figure.subplots` or `~.Figure.subplot_mosaic`.
1510+
15061511
Parameters
15071512
----------
15081513
nrows : int, default: 1

0 commit comments

Comments
 (0)