@@ -99,7 +99,7 @@ class _TransformedBoundsLocator:
99
99
Axes locator for `.Axes.inset_axes` and similarly positioned Axes.
100
100
101
101
The locator is a callable object used in `.Axes.set_aspect` to compute the
102
- axes location depending on the renderer.
102
+ Axes location depending on the renderer.
103
103
"""
104
104
105
105
def __init__ (self , bounds , transform ):
@@ -1117,7 +1117,7 @@ def _gen_axes_patch(self):
1117
1117
The patch used to draw the background of the Axes. It is also used
1118
1118
as the clipping path for any data elements on the Axes.
1119
1119
1120
- In the standard axes , this is a rectangle, but in other projections
1120
+ In the standard Axes , this is a rectangle, but in other projections
1121
1121
it may not be.
1122
1122
1123
1123
Notes
@@ -1149,7 +1149,7 @@ def sharex(self, other):
1149
1149
Share the x-axis with *other*.
1150
1150
1151
1151
This is equivalent to passing ``sharex=other`` when constructing the
1152
- axes , and cannot be used if the x-axis is already being shared with
1152
+ Axes , and cannot be used if the x-axis is already being shared with
1153
1153
another Axes.
1154
1154
"""
1155
1155
_api .check_isinstance (_AxesBase , other = other )
@@ -1168,7 +1168,7 @@ def sharey(self, other):
1168
1168
Share the y-axis with *other*.
1169
1169
1170
1170
This is equivalent to passing ``sharey=other`` when constructing the
1171
- axes , and cannot be used if the y-axis is already being shared with
1171
+ Axes , and cannot be used if the y-axis is already being shared with
1172
1172
another Axes.
1173
1173
"""
1174
1174
_api .check_isinstance (_AxesBase , other = other )
@@ -2413,7 +2413,7 @@ def add_table(self, tab):
2413
2413
2414
2414
def add_container (self , container ):
2415
2415
"""
2416
- Add a `.Container` to the axes ' containers; return the container.
2416
+ Add a `.Container` to the Axes ' containers; return the container.
2417
2417
"""
2418
2418
label = container .get_label ()
2419
2419
if not label :
@@ -2499,8 +2499,8 @@ def _process_unit_info(self, datasets=None, kwargs=None, *, convert=True):
2499
2499
(which gets passed through).
2500
2500
kwargs : dict
2501
2501
Other parameters from which unit info (i.e., the *xunits*,
2502
- *yunits*, *zunits* (for 3D axes ), *runits* and *thetaunits* (for
2503
- polar axes ) entries) is popped, if present. Note that this dict is
2502
+ *yunits*, *zunits* (for 3D Axes ), *runits* and *thetaunits* (for
2503
+ polar) entries) is popped, if present. Note that this dict is
2504
2504
mutated in-place!
2505
2505
convert : bool, default: True
2506
2506
Whether to return the original datasets or the converted ones.
@@ -2779,7 +2779,7 @@ def autoscale(self, enable=True, axis='both', tight=None):
2779
2779
True turns autoscaling on, False turns it off.
2780
2780
None leaves the autoscaling state unchanged.
2781
2781
axis : {'both', 'x', 'y'}, default: 'both'
2782
- The axis on which to operate. (For 3D axes , *axis* can also be set
2782
+ The axis on which to operate. (For 3D Axes , *axis* can also be set
2783
2783
to 'z', and 'both' refers to all three axes.)
2784
2784
tight : bool or None, default: None
2785
2785
If True, first set the margins to zero. Then, this argument is
@@ -2853,7 +2853,7 @@ def autoscale_view(self, tight=None, scalex=True, scaley=True):
2853
2853
if self .use_sticky_edges :
2854
2854
# Only iterate over Axes and artists if needed. The check for
2855
2855
# ``hasattr(ax, "_children")`` is necessary because this can be
2856
- # called very early in the Axes init process (e.g., for twin axes )
2856
+ # called very early in the Axes init process (e.g., for twin Axes )
2857
2857
# when these attributes don't even exist yet, in which case
2858
2858
# `get_children` would raise an AttributeError.
2859
2859
if self ._xmargin and scalex and self ._autoscaleXon :
@@ -2953,7 +2953,7 @@ def _get_axis_map(self):
2953
2953
Return a mapping of `Axis` "names" to `Axis` instances.
2954
2954
2955
2955
The `Axis` name is derived from the attribute under which the instance
2956
- is stored, so e.g. for polar axes , the theta-axis is still named "x"
2956
+ is stored, so e.g. for polar Axes , the theta-axis is still named "x"
2957
2957
and the r-axis is still named "y" (for back-compatibility).
2958
2958
2959
2959
In practice, this means that the entries are typically "x" and "y", and
@@ -3245,7 +3245,7 @@ def grid(self, visible=None, which='major', axis='both', **kwargs):
3245
3245
def ticklabel_format (self , * , axis = 'both' , style = '' , scilimits = None ,
3246
3246
useOffset = None , useLocale = None , useMathText = None ):
3247
3247
r"""
3248
- Configure the `.ScalarFormatter` used by default for linear axes .
3248
+ Configure the `.ScalarFormatter` used by default for linear Axes .
3249
3249
3250
3250
If a parameter is not set, the corresponding property of the formatter
3251
3251
is left unchanged.
@@ -3327,7 +3327,7 @@ def locator_params(self, axis='both', tight=None, **kwargs):
3327
3327
Parameters
3328
3328
----------
3329
3329
axis : {'both', 'x', 'y'}, default: 'both'
3330
- The axis on which to operate. (For 3D axes , *axis* can also be
3330
+ The axis on which to operate. (For 3D Axes , *axis* can also be
3331
3331
set to 'z', and 'both' refers to all three axes.)
3332
3332
tight : bool or None, optional
3333
3333
Parameter passed to `~.Axes.autoscale_view`.
@@ -3340,7 +3340,7 @@ def locator_params(self, axis='both', tight=None, **kwargs):
3340
3340
``set_params()`` method of the locator. Supported keywords depend
3341
3341
on the type of the locator. See for example
3342
3342
`~.ticker.MaxNLocator.set_params` for the `.ticker.MaxNLocator`
3343
- used by default for linear axes .
3343
+ used by default for linear.
3344
3344
3345
3345
Examples
3346
3346
--------
@@ -3377,7 +3377,7 @@ def tick_params(self, axis='both', **kwargs):
3377
3377
Other Parameters
3378
3378
----------------
3379
3379
direction : {'in', 'out', 'inout'}
3380
- Puts ticks inside the axes , outside the axes , or both.
3380
+ Puts ticks inside the Axes , outside the Axes , or both.
3381
3381
length : float
3382
3382
Tick length in points.
3383
3383
width : float
@@ -4538,7 +4538,7 @@ def contains(self, mouseevent):
4538
4538
4539
4539
def contains_point (self , point ):
4540
4540
"""
4541
- Return whether *point* (pair of pixel coordinates) is inside the axes
4541
+ Return whether *point* (pair of pixel coordinates) is inside the Axes
4542
4542
patch.
4543
4543
"""
4544
4544
return self .patch .contains_point (point , radius = 1.0 )
@@ -4568,7 +4568,7 @@ def get_default_bbox_extra_artists(self):
4568
4568
artists .remove (self ._right_title )
4569
4569
4570
4570
# always include types that do not internally implement clipping
4571
- # to axes . may have clip_on set to True and clip_box equivalent
4571
+ # to Axes . may have clip_on set to True and clip_box equivalent
4572
4572
# to ax.bbox but then ignore these properties during draws.
4573
4573
noclip = (_AxesBase , maxis .Axis ,
4574
4574
offsetbox .AnnotationBbox , offsetbox .OffsetBox )
@@ -4578,7 +4578,7 @@ def get_default_bbox_extra_artists(self):
4578
4578
def get_tightbbox (self , renderer , call_axes_locator = True ,
4579
4579
bbox_extra_artists = None , * , for_layout_only = False ):
4580
4580
"""
4581
- Return the tight bounding box of the axes , including axis and their
4581
+ Return the tight bounding box of the Axes , including axis and their
4582
4582
decorators (xlabel, title, etc).
4583
4583
4584
4584
Artists that have ``artist.set_in_layout(False)`` are not included
0 commit comments