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

Skip to content

Commit c216019

Browse files
committed
Fix gridspec tutorial
1 parent 0aaf239 commit c216019

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tutorials/intermediate/gridspec.py

Lines 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)