File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Original file line number Diff line number Diff line change @@ -210,7 +210,9 @@ def identify_axes(ax_dict, fontsize=48):
210
210
# (the same as `.Figure.subplots`).
211
211
#
212
212
# In this case we want to use the input to specify the arrangement,
213
- # but set the relative widths of the rows / columns via *gridspec_kw*.
213
+ # but set the relative widths of the rows / columns. For convenience,
214
+ # `.gridspec.GridSpec`'s *height_ratios* and *width_ratios* are exposed in the
215
+ # `.Figure.subplot_mosaic` calling sequence.
214
216
215
217
216
218
axd = plt .figure (constrained_layout = True ).subplot_mosaic (
@@ -227,9 +229,10 @@ def identify_axes(ax_dict, fontsize=48):
227
229
identify_axes (axd )
228
230
229
231
###############################################################################
230
- # Or use the {*left*, *right*, *bottom*, *top*} keyword arguments to
232
+ # Other `.gridspec.GridSpec` keywords can be passed via *gridspec_kw*. For
233
+ # example, use the {*left*, *right*, *bottom*, *top*} keyword arguments to
231
234
# position the overall mosaic to put multiple versions of the same
232
- # mosaic in a figure
235
+ # mosaic in a figure.
233
236
234
237
mosaic = """AA
235
238
BC"""
You can’t perform that action at this time.
0 commit comments