Skip to content

Commit cdcedae

Browse files
author
Meghan Jones
committed
Make raw strings
1 parent ab5710b commit cdcedae

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

pygmt/src/basemap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
)
3434
@kwargs_to_strings(R="sequence", c="sequence_comma", p="sequence")
3535
def basemap(self, **kwargs):
36-
"""
36+
r"""
3737
Plot base maps and frames for the figure.
3838
3939
Creates a basic or fancy basemap with axes, fill, and titles. Several

pygmt/src/colorbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
R="sequence", G="sequence", I="sequence", c="sequence_comma", p="sequence"
2929
)
3030
def colorbar(self, **kwargs):
31-
"""
31+
r"""
3232
Plot a gray or color scale-bar on maps.
3333
3434
Both horizontal and vertical scales are supported. For CPTs with

pygmt/src/contour.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
)
3737
@kwargs_to_strings(R="sequence", c="sequence_comma", i="sequence_comma", p="sequence")
3838
def contour(self, x=None, y=None, z=None, data=None, **kwargs):
39-
"""
39+
r"""
4040
Contour table data by direct triangulation.
4141
4242
Takes a matrix, (x,y,z) pairs, or a file name as input and plots lines,

pygmt/src/grdcontour.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
R="sequence", L="sequence", A="sequence_plus", c="sequence_comma", p="sequence"
3939
)
4040
def grdcontour(self, grid, **kwargs):
41-
"""
41+
r"""
4242
Convert grids or images to contours and plot them on maps.
4343
4444
Takes a grid file name or an xarray.DataArray object as input.

pygmt/src/grdimage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
)
4040
@kwargs_to_strings(R="sequence", c="sequence_comma", p="sequence")
4141
def grdimage(self, grid, **kwargs):
42-
"""
42+
r"""
4343
Project and plot grids or images.
4444
4545
Reads a 2-D grid file and produces a gray-shaded (or colored) map by

pygmt/src/grdview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
)
4040
@kwargs_to_strings(R="sequence", c="sequence_comma", p="sequence")
4141
def grdview(self, grid, **kwargs):
42-
"""
42+
r"""
4343
Create 3-D perspective image or surface mesh from a grid.
4444
4545
Reads a 2-D grid file and produces a 3-D perspective plot by drawing a

pygmt/src/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
)
2222
@kwargs_to_strings(R="sequence", c="sequence_comma", p="sequence")
2323
def image(self, imagefile, **kwargs):
24-
"""
24+
r"""
2525
Place images or EPS files on maps.
2626
2727
Reads an Encapsulated PostScript file or a raster image file and plots

pygmt/src/legend.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", c="sequence_comma", p="sequence")
3030
def legend(self, spec=None, position="JTR+jTR+o0.2c", box="+gwhite+p1p", **kwargs):
31-
"""
31+
r"""
3232
Plot legends on maps.
3333
3434
Makes legends that can be overlaid on maps. Reads specific

pygmt/src/logo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
)
2323
@kwargs_to_strings(R="sequence", c="sequence_comma", p="sequence")
2424
def logo(self, **kwargs):
25-
"""
25+
r"""
2626
Plot the GMT logo.
2727
2828
By default, the GMT logo is 2 inches wide and 1 inch high and

pygmt/src/plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
)
4545
@kwargs_to_strings(R="sequence", c="sequence_comma", i="sequence_comma", p="sequence")
4646
def plot(self, x=None, y=None, data=None, sizes=None, direction=None, **kwargs):
47-
"""
47+
r"""
4848
Plot lines, polygons, and symbols in 2-D.
4949
5050
Takes a matrix, (x,y) pairs, or a file name as input and plots lines,

0 commit comments

Comments
 (0)