Skip to content

Commit 6a2c992

Browse files
committed
Make changed doc strings raw strings
1 parent 6f9379e commit 6a2c992

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

pygmt/figure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def region(self):
115115
)
116116
@kwargs_to_strings()
117117
def psconvert(self, **kwargs):
118-
"""
118+
r"""
119119
Convert [E]PS file(s) to other formats.
120120
121121
Converts one or more PostScript files to other formats (BMP, EPS, JPEG,

pygmt/src/blockmedian.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
@use_alias(I="spacing", R="region", V="verbose")
2020
@kwargs_to_strings(R="sequence")
2121
def blockmedian(table, outfile=None, **kwargs):
22-
"""
22+
r"""
2323
Block average (x,y,z) data tables by median estimation.
2424
2525
Reads arbitrarily located (x,y,z) triples [or optionally weighted

pygmt/src/grdcut.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
)
2929
@kwargs_to_strings(R="sequence")
3030
def grdcut(grid, **kwargs):
31-
"""
31+
r"""
3232
Extract subregion from a grid.
3333
3434
Produce a new *outgrid* file which is a subregion of *grid*. The

pygmt/src/grdfilter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
)
3030
@kwargs_to_strings(R="sequence")
3131
def grdfilter(grid, **kwargs):
32-
"""
32+
r"""
3333
Filter a grid in the space (or time) domain.
3434
3535
Filter a grid file in the time domain using one of the selected convolution

pygmt/src/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
@fmt_docstring
1818
@use_alias(C="per_column", I="spacing", T="nearest_multiple", V="verbose")
1919
def info(table, **kwargs):
20-
"""
20+
r"""
2121
Get information about data tables.
2222
2323
Reads from files and finds the extreme values in each of the columns

pygmt/src/makecpt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
)
2727
@kwargs_to_strings(T="sequence", G="sequence")
2828
def makecpt(**kwargs):
29-
"""
29+
r"""
3030
Make GMT color palette tables.
3131
3232
This is a module that will help you make static color palette tables

pygmt/src/surface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
@use_alias(I="spacing", R="region", G="outfile", V="verbose")
2121
@kwargs_to_strings(R="sequence")
2222
def surface(x=None, y=None, z=None, data=None, **kwargs):
23-
"""
23+
r"""
2424
Grids table data using adjustable tension continuous curvature splines.
2525
2626
Surface reads randomly-spaced (x,y,z) triples and produces gridded values

pygmt/x2sys.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def tempfile_from_dftrack(track, suffix):
6969
)
7070
@kwargs_to_strings(I="sequence", R="sequence")
7171
def x2sys_init(tag, **kwargs):
72-
"""
72+
r"""
7373
Initialize a new x2sys track database.
7474
7575
x2sys_init is the starting point for anyone wishing to use x2sys; it
@@ -178,7 +178,7 @@ def x2sys_init(tag, **kwargs):
178178
)
179179
@kwargs_to_strings(R="sequence")
180180
def x2sys_cross(tracks=None, outfile=None, **kwargs):
181-
"""
181+
r"""
182182
Calculate crossovers between track data files.
183183
184184
x2sys_cross is used to determine all intersections between ("external

0 commit comments

Comments
 (0)