File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 75
75
76
76
# A GridSpec instance provides array-like (2d or 1d) indexing that
77
77
# returns the SubplotSpec instance. For a SubplotSpec that spans multiple
78
- # cells, use slice. ::
78
+ # cells, use slice.
79
79
80
80
ax2 = plt .subplot (gs [1 , :- 1 ])
81
81
ax3 = plt .subplot (gs [1 :, - 1 ])
82
82
83
83
###############################################################################
84
- # The above example becomes ::
84
+ # The above example becomes
85
85
86
86
fig = plt .figure ()
87
87
gs = gridspec .GridSpec (3 , 3 )
96
96
# ======================
97
97
#
98
98
# 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.
100
100
101
101
fig = plt .figure ()
102
102
gs1 = gridspec .GridSpec (3 , 3 )
You can’t perform that action at this time.
0 commit comments