Skip to content

Commit b28448b

Browse files
author
Meghan Jones
authored
Fix two sphinx warnings for docs build (#1285)
Specifically in pygmt/src/wiggle.py and pygmt/clib/session.py
1 parent cc26838 commit b28448b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pygmt/clib/session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ def _check_dtype_and_dim(self, array, ndim):
734734
return self[DTYPES[array.dtype.type]]
735735

736736
def put_vector(self, dataset, column, vector):
737-
"""
737+
r"""
738738
Attach a numpy 1D array as a column on a GMT dataset.
739739
740740
Use this function to attach numpy array data to a GMT dataset and pass
@@ -744,7 +744,7 @@ def put_vector(self, dataset, column, vector):
744744
first. Use ``family='GMT_IS_DATASET|GMT_VIA_VECTOR'``.
745745
746746
Not at all numpy dtypes are supported, only: float64, float32, int64,
747-
int32, uint64, uint32, datetime64 and str_.
747+
int32, uint64, uint32, datetime64 and str\_.
748748
749749
.. warning::
750750
The numpy array must be C contiguous in memory. If it comes from a

pygmt/src/wiggle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def wiggle(self, x=None, y=None, z=None, data=None, **kwargs):
5656
{B}
5757
position : str
5858
[**g**\|\ **j**\|\ **J**\|\ **n**\|\ **x**]\ *refpoint*\
59-
**+w**\ *length*\ [**+j**\ *justify*]\ [**+al**\ |\ **r**]\
59+
**+w**\ *length*\ [**+j**\ *justify*]\ [**+al**\|\ **r**]\
6060
[**+o**\ *dx*\ [/*dy*]][**+l**\ [*label*]].
6161
Defines the reference point on the map for the vertical scale bar.
6262
color : str

0 commit comments

Comments
 (0)