@@ -168,23 +168,25 @@ def __init__(self, left=None, bottom=None, right=None, top=None,
168
168
169
169
The following attributes are available
170
170
171
- * left* : 0.125
171
+ left : 0.125
172
172
The left side of the subplots of the figure
173
173
174
- * right* : 0.9
174
+ right : 0.9
175
175
The right side of the subplots of the figure
176
176
177
- * bottom* : 0.1
177
+ bottom : 0.1
178
178
The bottom of the subplots of the figure
179
179
180
- * top* : 0.9
180
+ top : 0.9
181
181
The top of the subplots of the figure
182
182
183
- *wspace* : 0.2
184
- The amount of width reserved for blank space between subplots
183
+ wspace : 0.2
184
+ The amount of width reserved for blank space between subplots,
185
+ expressed as a fraction of the average axis width
185
186
186
- *hspace* : 0.2
187
- The amount of height reserved for white space between subplots
187
+ hspace : 0.2
188
+ The amount of height reserved for white space between subplots,
189
+ expressed as a fraction of the average axis height
188
190
"""
189
191
190
192
self .validate = True
@@ -510,16 +512,16 @@ def suptitle(self, t, **kwargs):
510
512
kwargs are :class:`matplotlib.text.Text` properties. Using figure
511
513
coordinates, the defaults are:
512
514
513
- *x* : 0.5
515
+ x : 0.5
514
516
The x location of the text in figure coords
515
517
516
- *y* : 0.98
518
+ y : 0.98
517
519
The y location of the text in figure coords
518
520
519
- * horizontalalignment* : 'center'
521
+ horizontalalignment : 'center'
520
522
The horizontal alignment of the text
521
523
522
- * verticalalignment* : 'top'
524
+ verticalalignment : 'top'
523
525
The vertical alignment of the text
524
526
525
527
If the `fontproperties` keyword argument is given then the
@@ -1189,67 +1191,67 @@ def legend(self, handles, labels, *args, **kwargs):
1189
1191
1190
1192
Keyword arguments:
1191
1193
1192
- * prop* : [ *None* | FontProperties | dict ]
1194
+ prop: [ *None* | FontProperties | dict ]
1193
1195
A :class:`matplotlib.font_manager.FontProperties`
1194
1196
instance. If *prop* is a dictionary, a new instance will be
1195
1197
created with *prop*. If *None*, use rc settings.
1196
1198
1197
- * numpoints* : integer
1199
+ numpoints: integer
1198
1200
The number of points in the legend line, default is 4
1199
1201
1200
- * scatterpoints* : integer
1202
+ scatterpoints: integer
1201
1203
The number of points in the legend line, default is 4
1202
1204
1203
- * scatteryoffsets* : list of floats
1205
+ scatteryoffsets: list of floats
1204
1206
a list of yoffsets for scatter symbols in legend
1205
1207
1206
- * markerscale* : [ *None* | scalar ]
1208
+ markerscale: [ *None* | scalar ]
1207
1209
The relative size of legend markers vs. original. If *None*, use rc
1208
1210
settings.
1209
1211
1210
- * markerfirst* : [ *True* | *False* ]
1212
+ markerfirst: [ *True* | *False* ]
1211
1213
if *True*, legend marker is placed to the left of the legend label
1212
1214
if *False*, legend marker is placed to the right of the legend
1213
1215
label
1214
1216
1215
- * frameon* : [ *None* | bool ]
1217
+ frameon: [ *None* | bool ]
1216
1218
Control whether the legend should be drawn on a patch (frame).
1217
1219
Default is *None* which will take the value from the
1218
1220
``legend.frameon`` :data:`rcParam<matplotlib.rcParams>`.
1219
1221
1220
- * fancybox* : [ *None* | *False* | *True* ]
1222
+ fancybox: [ *None* | *False* | *True* ]
1221
1223
if *True*, draw a frame with a round fancybox. If *None*, use rc
1222
1224
1223
- * shadow* : [ *None* | *False* | *True* ]
1225
+ shadow: [ *None* | *False* | *True* ]
1224
1226
If *True*, draw a shadow behind legend. If *None*, use rc settings.
1225
1227
1226
- * framealpha* : [ *None* | float ]
1228
+ framealpha: [ *None* | float ]
1227
1229
Control the alpha transparency of the legend's background.
1228
1230
Default is *None* which will take the value from the
1229
1231
``legend.framealpha`` :data:`rcParam<matplotlib.rcParams>`.
1230
1232
1231
- * facecolor* : [ *None* | "inherit" | a color spec ]
1233
+ facecolor: [ *None* | "inherit" | a color spec ]
1232
1234
Control the legend's background color.
1233
1235
Default is *None* which will take the value from the
1234
1236
``legend.facecolor`` :data:`rcParam<matplotlib.rcParams>`.
1235
1237
If ``"inherit"``, it will take the ``axes.facecolor``
1236
1238
:data:`rcParam<matplotlib.rcParams>`.
1237
1239
1238
- * edgecolor* : [ *None* | "inherit" | a color spec ]
1240
+ edgecolor: [ *None* | "inherit" | a color spec ]
1239
1241
Control the legend's background patch edge color.
1240
1242
Default is *None* which will take the value from the
1241
1243
``legend.edgecolor`` :data:`rcParam<matplotlib.rcParams>`.
1242
1244
If ``"inherit"``, it will take the ``axes.edgecolor``
1243
1245
:data:`rcParam<matplotlib.rcParams>`.
1244
1246
1245
- * ncol* : integer
1247
+ ncol : integer
1246
1248
number of columns. default is 1
1247
1249
1248
- * mode* : [ "expand" | *None* ]
1250
+ mode : [ "expand" | *None* ]
1249
1251
if mode is "expand", the legend will be horizontally expanded
1250
1252
to fill the axes area (or *bbox_to_anchor*)
1251
1253
1252
- * title* : string
1254
+ title : string
1253
1255
the legend title
1254
1256
1255
1257
Padding and spacing between various elements use following keywords
@@ -1713,13 +1715,13 @@ def tight_layout(self, renderer=None, pad=1.08, h_pad=None,
1713
1715
1714
1716
Parameters:
1715
1717
1716
- * pad* : float
1718
+ pad : float
1717
1719
padding between the figure edge and the edges of subplots,
1718
1720
as a fraction of the font-size.
1719
- * h_pad*, * w_pad* : float
1721
+ h_pad, w_pad : float
1720
1722
padding (height/width) between edges of adjacent subplots.
1721
1723
Defaults to `pad_inches`.
1722
- * rect* : if rect is given, it is interpreted as a rectangle
1724
+ rect : if rect is given, it is interpreted as a rectangle
1723
1725
(left, bottom, right, top) in the normalized figure
1724
1726
coordinate that the whole subplots area (including
1725
1727
labels) will fit into. Default is (0, 0, 1, 1).
0 commit comments