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 c216019

Browse filesBrowse files
committed
Fix gridspec tutorial
1 parent 0aaf239 commit c216019
Copy full SHA for c216019

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎tutorials/intermediate/gridspec.py

Copy file name to clipboardExpand all lines: tutorials/intermediate/gridspec.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@
7575

7676
# A GridSpec instance provides array-like (2d or 1d) indexing that
7777
# returns the SubplotSpec instance. For a SubplotSpec that spans multiple
78-
# cells, use slice. ::
78+
# cells, use slice.
7979

8080
ax2 = plt.subplot(gs[1, :-1])
8181
ax3 = plt.subplot(gs[1:, -1])
8282

8383
###############################################################################
84-
# The above example becomes ::
84+
# The above example becomes
8585

8686
fig = plt.figure()
8787
gs = gridspec.GridSpec(3, 3)
@@ -96,7 +96,7 @@
9696
# ======================
9797
#
9898
# When a GridSpec is explicitly used, you can adjust the layout
99-
# parameters of subplots that are created from the GridSpec. ::
99+
# parameters of subplots that are created from the GridSpec.
100100

101101
fig = plt.figure()
102102
gs1 = gridspec.GridSpec(3, 3)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.