Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfb389ab

Browse files
authored
Merge pull request#21385 from dstansby/gridspec-doc
Document what indexing a GridSpec returns
2 parents92b208a +f86c7f3 commitfb389ab

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
@@ -330,6 +330,8 @@ class GridSpec(GridSpecBase):
330330
The location of the grid cells is determined in a similar way to
331331
`~.figure.SubplotParams` using *left*, *right*, *top*, *bottom*, *wspace*
332332
and *hspace*.
333+
334+
Indexing a GridSpec instance returns a `.SubplotSpec`.
333335
"""
334336
def__init__(self,nrows,ncols,figure=None,
335337
left=None,bottom=None,right=None,top=None,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp