Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Address several typos #2348

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/whatsnew/v0.21.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Features
ax.annotate('default crs', map_coords, size=5)

# data in map projection using default transform, with
# text positioned in platecaree transform
# text positioned in platecarree transform
ax.annotate('mixed crs transforms', map_coords, xycoords='data',
xytext=(-175, -55),
textcoords=platecarree,
Expand Down
2 changes: 1 addition & 1 deletion docs/source/whatsnew/v0.22.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ Features

* Martin Yeo added the Oblique Mercator projection. (:pull:`2096`)

* Elliott Sales de Andrade added the Aitoff and Hammer projections. (:pull:`1249``)
* Elliott Sales de Andrade added the Aitoff and Hammer projections. (:pull:`1249`)
2 changes: 1 addition & 1 deletion lib/cartopy/crs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2497,7 +2497,7 @@ def transform_points(self, src_crs, x, y, z=None, trap=False):

class InterruptedGoodeHomolosine(Projection):
"""
Composite equal-area projection empahsizing either land or
Composite equal-area projection emphasizing either land or
ocean features.

Original Reference:
Expand Down
2 changes: 1 addition & 1 deletion lib/cartopy/io/img_tiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def _image_url(self, tile):
mqdevurl = ('https://devblog.mapquest.com/2016/06/15/'
'modernization-of-mapquest-results-in-changes'
'-to-open-tile-access/')
warnings.warn(f'{url} will require a log in and and will likely'
warnings.warn(f'{url} will require a log in and will likely'
f' fail. see {mqdevurl} for more details.')
return url

Expand Down
2 changes: 1 addition & 1 deletion lib/cartopy/mpl/feature_artist.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __init__(self, feature, **kwargs):
feature
An instance of :class:`cartopy.feature.Feature` to draw.
styler
A callable that given a gemometry, returns matplotlib styling
A callable that given a geometry, returns matplotlib styling
parameters.

Other Parameters
Expand Down
2 changes: 1 addition & 1 deletion lib/cartopy/mpl/geoaxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ def tissot(self, rad_km=500, lons=None, lats=None, n_samples=80, **kwargs):
Parameters
----------
rad_km
The radius in km of the the circles to be drawn.
The radius in km of the circles to be drawn.
lons
A numpy.ndarray, list or tuple of longitude values that
locate the centre of each circle. Specifying more than one
Expand Down
2 changes: 1 addition & 1 deletion lib/cartopy/tests/mpl/test_mpl_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ def test_annotate():
ax.annotate('default crs', map_coords, size=5)

# data in map projection using default transform, with
# text positioned in platecaree transform
# text positioned in platecarree transform
ax.annotate('mixed crs transforms', map_coords, xycoords='data',
xytext=(-175, -55),
textcoords=platecarree,
Expand Down
2 changes: 1 addition & 1 deletion lib/cartopy/tests/test_img_nest.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def test_nest(nest_from_config):
sorted(_tile_from_img(img) for z, img in
nest.subtiles(('aerial z1 test', x1_y0_z1))))

# check that the the images in the nest from configuration are the
# check that the images in the nest from configuration are the
# same as those created by hand.
for name in nest_z0_z1._collections_by_name.keys():
for img in nest_z0_z1._collections_by_name[name].images:
Expand Down