@@ -169,23 +169,25 @@ def __init__(self, left=None, bottom=None, right=None, top=None,
169
169
170
170
The following attributes are available
171
171
172
- * left* : 0.125
172
+ left : 0.125
173
173
The left side of the subplots of the figure
174
174
175
- * right* : 0.9
175
+ right : 0.9
176
176
The right side of the subplots of the figure
177
177
178
- * bottom* : 0.1
178
+ bottom : 0.1
179
179
The bottom of the subplots of the figure
180
180
181
- * top* : 0.9
181
+ top : 0.9
182
182
The top of the subplots of the figure
183
183
184
- *wspace* : 0.2
185
- The amount of width reserved for blank space between subplots
184
+ wspace : 0.2
185
+ The amount of width reserved for blank space between subplots,
186
+ expressed as a fraction of the average axis width
186
187
187
- *hspace* : 0.2
188
- The amount of height reserved for white space between subplots
188
+ hspace : 0.2
189
+ The amount of height reserved for white space between subplots,
190
+ expressed as a fraction of the average axis height
189
191
"""
190
192
191
193
self .validate = True
@@ -511,16 +513,16 @@ def suptitle(self, t, **kwargs):
511
513
kwargs are :class:`matplotlib.text.Text` properties. Using figure
512
514
coordinates, the defaults are:
513
515
514
- *x* : 0.5
516
+ x : 0.5
515
517
The x location of the text in figure coords
516
518
517
- *y* : 0.98
519
+ y : 0.98
518
520
The y location of the text in figure coords
519
521
520
- * horizontalalignment* : 'center'
522
+ horizontalalignment : 'center'
521
523
The horizontal alignment of the text
522
524
523
- * verticalalignment* : 'top'
525
+ verticalalignment : 'top'
524
526
The vertical alignment of the text
525
527
526
528
If the `fontproperties` keyword argument is given then the
@@ -1314,67 +1316,67 @@ def legend(self, handles, labels, *args, **kwargs):
1314
1316
1315
1317
Keyword arguments:
1316
1318
1317
- * prop* : [ *None* | FontProperties | dict ]
1319
+ prop: [ *None* | FontProperties | dict ]
1318
1320
A :class:`matplotlib.font_manager.FontProperties`
1319
1321
instance. If *prop* is a dictionary, a new instance will be
1320
1322
created with *prop*. If *None*, use rc settings.
1321
1323
1322
- * numpoints* : integer
1324
+ numpoints: integer
1323
1325
The number of points in the legend line, default is 4
1324
1326
1325
- * scatterpoints* : integer
1327
+ scatterpoints: integer
1326
1328
The number of points in the legend line, default is 4
1327
1329
1328
- * scatteryoffsets* : list of floats
1330
+ scatteryoffsets: list of floats
1329
1331
a list of yoffsets for scatter symbols in legend
1330
1332
1331
- * markerscale* : [ *None* | scalar ]
1333
+ markerscale: [ *None* | scalar ]
1332
1334
The relative size of legend markers vs. original. If *None*, use rc
1333
1335
settings.
1334
1336
1335
- * markerfirst* : [ *True* | *False* ]
1337
+ markerfirst: [ *True* | *False* ]
1336
1338
if *True*, legend marker is placed to the left of the legend label
1337
1339
if *False*, legend marker is placed to the right of the legend
1338
1340
label
1339
1341
1340
- * frameon* : [ *None* | bool ]
1342
+ frameon: [ *None* | bool ]
1341
1343
Control whether the legend should be drawn on a patch (frame).
1342
1344
Default is *None* which will take the value from the
1343
1345
``legend.frameon`` :data:`rcParam<matplotlib.rcParams>`.
1344
1346
1345
- * fancybox* : [ *None* | *False* | *True* ]
1347
+ fancybox: [ *None* | *False* | *True* ]
1346
1348
if *True*, draw a frame with a round fancybox. If *None*, use rc
1347
1349
1348
- * shadow* : [ *None* | *False* | *True* ]
1350
+ shadow: [ *None* | *False* | *True* ]
1349
1351
If *True*, draw a shadow behind legend. If *None*, use rc settings.
1350
1352
1351
- * framealpha* : [ *None* | float ]
1353
+ framealpha: [ *None* | float ]
1352
1354
Control the alpha transparency of the legend's background.
1353
1355
Default is *None* which will take the value from the
1354
1356
``legend.framealpha`` :data:`rcParam<matplotlib.rcParams>`.
1355
1357
1356
- * facecolor* : [ *None* | "inherit" | a color spec ]
1358
+ facecolor: [ *None* | "inherit" | a color spec ]
1357
1359
Control the legend's background color.
1358
1360
Default is *None* which will take the value from the
1359
1361
``legend.facecolor`` :data:`rcParam<matplotlib.rcParams>`.
1360
1362
If ``"inherit"``, it will take the ``axes.facecolor``
1361
1363
:data:`rcParam<matplotlib.rcParams>`.
1362
1364
1363
- * edgecolor* : [ *None* | "inherit" | a color spec ]
1365
+ edgecolor: [ *None* | "inherit" | a color spec ]
1364
1366
Control the legend's background patch edge color.
1365
1367
Default is *None* which will take the value from the
1366
1368
``legend.edgecolor`` :data:`rcParam<matplotlib.rcParams>`.
1367
1369
If ``"inherit"``, it will take the ``axes.edgecolor``
1368
1370
:data:`rcParam<matplotlib.rcParams>`.
1369
1371
1370
- * ncol* : integer
1372
+ ncol : integer
1371
1373
number of columns. default is 1
1372
1374
1373
- * mode* : [ "expand" | *None* ]
1375
+ mode : [ "expand" | *None* ]
1374
1376
if mode is "expand", the legend will be horizontally expanded
1375
1377
to fill the axes area (or *bbox_to_anchor*)
1376
1378
1377
- * title* : string
1379
+ title : string
1378
1380
the legend title
1379
1381
1380
1382
Padding and spacing between various elements use following keywords
@@ -1838,13 +1840,13 @@ def tight_layout(self, renderer=None, pad=1.08, h_pad=None,
1838
1840
1839
1841
Parameters:
1840
1842
1841
- * pad* : float
1843
+ pad : float
1842
1844
padding between the figure edge and the edges of subplots,
1843
1845
as a fraction of the font-size.
1844
- * h_pad*, * w_pad* : float
1846
+ h_pad, w_pad : float
1845
1847
padding (height/width) between edges of adjacent subplots.
1846
1848
Defaults to `pad_inches`.
1847
- * rect* : if rect is given, it is interpreted as a rectangle
1849
+ rect : if rect is given, it is interpreted as a rectangle
1848
1850
(left, bottom, right, top) in the normalized figure
1849
1851
coordinate that the whole subplots area (including
1850
1852
labels) will fit into. Default is (0, 0, 1, 1).
0 commit comments