8000 gridspec <- GridSpec when speakig of gridspec.GridSpec · matplotlib/matplotlib@360da63 · GitHub
[go: up one dir, main page]

Skip to content

Commit 360da63

Browse files
committed
gridspec <- GridSpec when speakig of gridspec.GridSpec
1 parent e5a7c08 commit 360da63

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/users/gridspec.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ is identical to ::
3131

3232
ax = plt.subplot(2, 2, 1)
3333

34-
Note that, unlike matplotlib's subplot, the index starts from 0 in gridspec.
34+
Note that, unlike matplotlib's subplot, the index starts from 0 in GridSpec.
3535

3636
To create a subplot that spans multiple cells, ::
3737

@@ -66,7 +66,7 @@ is equal to ::
6666
gs = gridspec.GridSpec(2, 2)
6767
ax = plt.subplot(gs[0, 0])
6868

69-
A gridspec instance provides array-like (2d or 1d) indexing that
69+
A GridSpec instance provides array-like (2d or 1d) indexing that
7070
returns the SubplotSpec instance. For, SubplotSpec that spans multiple
7171
cells, use slice. ::
7272

@@ -88,7 +88,7 @@ Adjust GridSpec layout
8888
======================
8989

9090
When a GridSpec is explicitly used, you can adjust the layout
91-
parameters of subplots that are created from the gridspec. ::
91+
parameters of subplots that are created from the GridSpec. ::< 8645 /div>
9292

9393
gs1 = gridspec.GridSpec(3, 3)
9494
gs1.update(left=0.05, right=0.48, wspace=0.05)
@@ -132,8 +132,8 @@ parameters are set to that of the location of the given SubplotSpec. ::
132132
A Complex Nested GridSpec using SubplotSpec
133133
===========================================
134134

135-
Here's a more sophisticated example of nested gridspec where we put
136-
a box around each cell of the outer 4x4 grid, by hiding appropriate
135+
Here's a more sophisticated example of nested GridSpec where we put
136+
a box around each cell of the outer 4x4 grid, by hiding appropriate
137137
spines in each of the inner 3x3 grids.
138138

139139
.. plot:: users/plotting/examples/demo_gridspec06.py

0 commit comments

Comments
 (0)
0