Skip to content

Commit 78f7715

Browse files
authored
Fix two typos in x2sys_cross docstrings (#632)
Before the fix, building the documentation gives the following warnings: ``` docstring of pygmt.x2sys_cross:32: WARNING: Inline emphasis start-string without end-string. docstring of pygmt.x2sys_cross:94: WARNING: Inline literal start-string without end-string. ```
1 parent 4e7e28b commit 78f7715

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pygmt/x2sys.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ def x2sys_cross(tracks=None, outfile=None, **kwargs):
206206
in the current directory and second in all directories listed in
207207
$X2SYS_HOME/TAG/TAG_paths.txt (if it exists). [If $X2SYS_HOME is not
208208
set it will default to $GMT_SHAREDIR/x2sys]. (Note: MGD77 files will
209-
also be looked for via $MGD77_HOME/mgd77_paths.txt and *.gmt files will
210-
be searched for via $GMT_SHAREDIR/mgg/gmtfile_paths).
209+
also be looked for via $MGD77_HOME/mgd77_paths.txt and \\*.gmt files
210+
will be searched for via $GMT_SHAREDIR/mgg/gmtfile_paths).
211211
212212
outfile : str
213213
Optional. The file name for the output ASCII txt file to store the
@@ -271,7 +271,7 @@ def x2sys_cross(tracks=None, outfile=None, **kwargs):
271271
headings will not be computed (i.e., set to NaN) [Default calculates \
272272
headings regardless of speed].
273273
274-
For example, you can use ``speed=["l0", "u10", "h5"] to set a lower
274+
For example, you can use ``speed=["l0", "u10", "h5"]`` to set a lower
275275
speed of 0, upper speed of 10, and disable heading calculations for
276276
speeds below 5.
277277

0 commit comments

Comments
 (0)