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

Appearance settings

Commit f86c7f3

Browse filesBrowse files
committed
Document what indexing a GridSpec returns
1 parent eb5ed71 commit f86c7f3
Copy full SHA for f86c7f3

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎lib/matplotlib/gridspec.py

Copy file name to clipboardExpand all lines: lib/matplotlib/gridspec.py
+2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.