1 parent 0aaf239 commit c216019Copy full SHA for c216019
1 file changed
tutorials/intermediate/gridspec.py
@@ -75,13 +75,13 @@
75
76
# A GridSpec instance provides array-like (2d or 1d) indexing that
77
# returns the SubplotSpec instance. For a SubplotSpec that spans multiple
78
-# cells, use slice. ::
+# cells, use slice.
79
80
ax2 = plt.subplot(gs[1, :-1])
81
ax3 = plt.subplot(gs[1:, -1])
82
83
###############################################################################
84
-# The above example becomes ::
+# The above example becomes
85
86
fig = plt.figure()
87
gs = gridspec.GridSpec(3, 3)
@@ -96,7 +96,7 @@
96
# ======================
97
#
98
# When a GridSpec is explicitly used, you can adjust the layout
99
-# parameters of subplots that are created from the GridSpec. ::
+# parameters of subplots that are created from the GridSpec.
100
101
102
gs1 = gridspec.GridSpec(3, 3)
0 commit comments