Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1e66c82

Browse files
authored
Merge pull request#16273 from greglucas/fix_spelling_coordinate
DOC: Changing the spelling of co-ordinates.
2 parentscc55b47 +9411a16 commit1e66c82

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

‎examples/subplots_axes_and_figures/secondary_axis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def inverse(x):
8181
ax.plot(xdata,ydata,label='Plotted data')
8282

8383
xold=np.arange(0,11,0.2)
84-
# fake data set relating xco-ordinate to another data-derivedco-ordinate.
84+
# fake data set relating xcoordinate to another data-derivedcoordinate.
8585
# xnew must be monotonic, so we sort...
8686
xnew=np.sort(10*np.exp(-xold/4)+np.random.randn(len(xold))/3)
8787

‎lib/matplotlib/_constrained_layout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def _make_layout_margins(ax, renderer, h_pad, w_pad):
274274

275275
# this can go wrong:
276276
ifnot (np.isfinite(bbox.width)andnp.isfinite(bbox.height)):
277-
# just abort, this is likely a bad set ofco-ordinates that
277+
# just abort, this is likely a bad set ofcoordinates that
278278
# is transitory...
279279
return
280280
# use stored h_pad if it exists

‎lib/matplotlib/artist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def get_tightbbox(self, renderer):
272272
Returns
273273
-------
274274
bbox : `.Bbox`
275-
The enclosing bounding box (in figure pixelco-ordinates).
275+
The enclosing bounding box (in figure pixelcoordinates).
276276
"""
277277
bbox=self.get_window_extent(renderer)
278278
ifself.get_clip_on():

‎lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ def indicate_inset(self, bounds, inset_ax=None, *, transform=None,
500500
chosen so as to not overlap with the indicator box.
501501
502502
transform : `.Transform`
503-
Transform for the rectangleco-ordinates. Defaults to
503+
Transform for the rectanglecoordinates. Defaults to
504504
`ax.transAxes`, i.e. the units of *rect* are in axes-relative
505505
coordinates.
506506

‎lib/matplotlib/axes/_secondary_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def set_alignment(self, align):
117117
defset_location(self,location):
118118
"""
119119
Set the vertical or horizontal location of the axes in
120-
parent-normalizedco-ordinates.
120+
parent-normalizedcoordinates.
121121
122122
Parameters
123123
----------
@@ -152,7 +152,7 @@ def set_location(self, location):
152152

153153
# this locator lets the axes move in the parent axes coordinates.
154154
# so it never needs to know where the parent is explicitly in
155-
# figureco-ordinates.
155+
# figurecoordinates.
156156
# it gets called in `ax.apply_aspect() (of all places)
157157
self.set_axes_locator(secondary_locator)
158158

‎lib/matplotlib/collections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def get_datalim(self, transData):
200200
transOffset=self.get_offset_transform()
201201
if (notself._offsetsNoneand
202202
nottransOffset.contains_branch(transData)):
203-
# if there are offsets but in someco-ords other than data,
203+
# if there are offsets but in somecoords other than data,
204204
# then don't use them for autoscaling.
205205
returntransforms.Bbox.null()
206206
offsets=self._offsets

‎lib/matplotlib/legend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ def get_tightbbox(self, renderer):
953953
954954
Returns
955955
-------
956-
`.BboxBase` : containing the bounding box in figure pixelco-ordinates.
956+
`.BboxBase` : containing the bounding box in figure pixelcoordinates.
957957
"""
958958
returnself._legend_box.get_window_extent(renderer)
959959

‎lib/matplotlib/table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ def draw(self, renderer):
422422

423423
def_get_grid_bbox(self,renderer):
424424
"""
425-
Get a bbox, in axesco-ordinates for the cells.
425+
Get a bbox, in axescoordinates for the cells.
426426
427427
Only include those in the range (0, 0) to (maxRow, maxCol).
428428
"""

‎lib/matplotlib/tests/test_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6310,7 +6310,7 @@ def test_zoom_inset():
63106310
ax.apply_aspect()
63116311
# we need to apply_aspect to make the drawing below work.
63126312

6313-
# Make the inset_axes... Position axesco-ordinates...
6313+
# Make the inset_axes... Position axescoordinates...
63146314
axin1=ax.inset_axes([0.7,0.7,0.35,0.35])
63156315
# redraw the data in the inset axes...
63166316
axin1.pcolormesh(x,y,z)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp