@@ -445,17 +445,16 @@ def __init__(self, fig, rect,
445445 *anchor* [ 'C', 'SW', 'S', 'SE', 'E', 'NE', 'N',
446446 'NW', 'W' ]
447447 *aspect* [ 'auto' | 'equal' | aspect_ratio ]
448- *autoscale_on* [ *True* | *False* ] whether or not to
449- autoscale the *viewlim*
450- *axisbelow* [ *True* | *False* | 'line'] draw the grids
448+ *autoscale_on* bool; whether to autoscale the *viewlim*
449+ *axisbelow* [ bool | 'line' ] draw the grids
451450 and ticks below or above most other artists,
452451 or below lines but above patches
453452 *cursor_props* a (*float*, *color*) tuple
454453 *figure* a :class:`~matplotlib.figure.Figure`
455454 instance
456- *frame_on* a boolean - draw the axes frame
455+ *frame_on* bool; whether to draw the axes frame
457456 *label* the axes label
458- *navigate* [ *True* | *False* ]
457+ *navigate* bool
459458 *navigate_mode* [ 'PAN' | 'ZOOM' | None ] the navigation
460459 toolbar button status
461460 *position* [left, bottom, width, height] in
@@ -465,8 +464,7 @@ def __init__(self, fig, rect,
465464 *sharey* an class:`~matplotlib.axes.Axes` instance
466465 to share the y-axis with
467466 *title* the title string
468- *visible* [ *True* | *False* ] whether the axes is
469- visible
467+ *visible* bool, whether the axes is visible
470468 *xlabel* the xlabel
471469 *xlim* (*xmin*, *xmax*) view limits
472470 *xscale* [%(scale)s]
@@ -1289,7 +1287,7 @@ def set_aspect(self, aspect, adjustable=None, anchor=None):
12891287 anchor : None or str or 2-tuple of float, optional
12901288 If not ``None``, this defines where the Axes will be drawn if there
12911289 is extra space due to aspect constraints. The most common way to
1292- to specify the anchor are abbreviations of carindal directions:
1290+ to specify the anchor are abbreviations of cardinal directions:
12931291
12941292 ===== =====================
12951293 value description
@@ -2322,14 +2320,14 @@ def autoscale(self, enable=True, axis='both', tight=None):
23222320
23232321 Parameters
23242322 ----------
2325- enable : [True | False | None] , optional
2323+ enable : bool or None, optional
23262324 True (default) turns autoscaling on, False turns it off.
23272325 None leaves the autoscaling state unchanged.
23282326
23292327 axis : ['both' | 'x' | 'y'], optional
23302328 which axis to operate on; default is 'both'
23312329
2332- tight: [None | True | False] , optional
2330+ tight: bool or None , optional
23332331 If True, set view limits to data limits;
23342332 if False, let the locator and margins expand the view limits;
23352333 if None, use tight scaling if the only artist is an image,
@@ -2666,7 +2664,7 @@ def ticklabel_format(self, **kwargs):
26662664 be used for numbers outside the range
26672665 10`m`:sup: to 10`n`:sup:.
26682666 Use (0,0) to include all numbers.
2669- *useOffset* [True | False | offset]; if True,
2667+ *useOffset* [ bool | offset ]; if True,
26702668 the offset will be calculated as needed;
26712669 if False, no offset will be used; if a
26722670 numeric offset is specified, it will be
@@ -2751,7 +2749,7 @@ def locator_params(self, axis='both', tight=None, **kwargs):
27512749 axis : ['both' | 'x' | 'y'], optional
27522750 The axis on which to operate.
27532751
2754- tight : [None | True | False] , optional
2752+ tight : bool or None , optional
27552753 Parameter passed to :meth:`autoscale_view`.
27562754 Default is None, for no change.
27572755
0 commit comments