Skip to content

Commit

Permalink
sphinx warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lgolston committed Jul 26, 2023
1 parent 1476a7b commit 3032f38
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions lib/cartopy/io/img_nest.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ def world_files(fname):
Determine potential world filename combinations, without checking
their existence.
For example, a '*.tif' file may have one of the following
popular conventions for world file extensions '*.tifw',
'*.tfw', '*.TIFW' or '*.TFW'.
For example, a ``'*.tif'`` file may have one of the following
popular conventions for world file extensions ``'*.tifw'``,
``'*.tfw'``, ``'*.TIFW'`` or ``'*.TFW'``.
Given the possible world file extensions, the upper case basename
combinations are also generated. For example, the file 'map.tif'
Expand Down Expand Up @@ -205,7 +205,7 @@ def scan_dir_for_imgs(self, directory, glob_pattern='*.tif',
The directory path to search for image files.
glob_pattern: optional
The image filename glob pattern to search with.
Defaults to '*.tif'.
Defaults to ``'*.tif'``.
img_class: optional
The class used to construct each image in the Collection.
Expand Down Expand Up @@ -497,7 +497,8 @@ def from_configuration(cls, name, crs, name_dir_pairs,
name_dir_pairs
A list of image collection name and directory path pairs.
glob_pattern: optional
The image collection filename glob pattern. Defaults to '*.tif'.
The image collection filename glob pattern. Defaults
to ``'*.tif'``.
img_class: optional
The class of images created in the image collection.
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 @@ -133,7 +133,7 @@ def __init__(self, feature, **kwargs):
def draw(self, renderer, *args, **kwargs):
"""
Draw the geometries of the feature that intersect with the extent of
the :class:`cartopy.mpl.GeoAxes` instance to which this
the :class:`cartopy.mpl.geoaxes.GeoAxes` instance to which this
object has been added.
"""
Expand Down

0 comments on commit 3032f38

Please sign in to comment.