Skip to content

Commit fdfe687

Browse files
authored
Update the one-sentence description of wrappers to match upstream documentation (#3857)
1 parent abf6f37 commit fdfe687

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+70
-70
lines changed

pygmt/src/basemap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
basemap - Plot base maps and frames for the figure.
2+
basemap - Plot base maps and frames.
33
"""
44

55
from pygmt.clib import Session
@@ -26,7 +26,7 @@
2626
@kwargs_to_strings(R="sequence", c="sequence_comma", p="sequence")
2727
def basemap(self, **kwargs):
2828
r"""
29-
Plot base maps and frames for the figure.
29+
Plot base maps and frames.
3030
3131
Creates a basic or fancy basemap with axes, fill, and titles. Several
3232
map projections are available, and the user may specify separate

pygmt/src/binstats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
binstats - Bin spatial data and determine statistics per bin
2+
binstats - Bin spatial data and determine statistics per bin.
33
"""
44

55
import xarray as xr

pygmt/src/coast.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
coast - Plot land and water.
2+
coast - Plot continents, countries, shorelines, rivers, and borders.
33
"""
44

55
from pygmt.clib import Session
@@ -39,7 +39,7 @@
3939
@kwargs_to_strings(R="sequence", c="sequence_comma", p="sequence")
4040
def coast(self, **kwargs):
4141
r"""
42-
Plot continents, shorelines, rivers, and borders on maps.
42+
Plot continents, countries, shorelines, rivers, and borders.
4343
4444
Plots grayshaded, colored, or textured land masses [or water masses] on
4545
maps and [optionally] draws coastlines, rivers, and political

pygmt/src/colorbar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
colorbar - Plot a colorbar.
2+
colorbar - Plot gray scale or color scale bar.
33
"""
44

55
from pygmt.clib import Session
@@ -32,7 +32,7 @@
3232
)
3333
def colorbar(self, **kwargs):
3434
r"""
35-
Plot colorbars on figures.
35+
Plot gray scale or color scale bar.
3636
3737
Both horizontal and vertical colorbars are supported. For CPTs with
3838
gradational colors (i.e., the lower and upper boundary of an interval

pygmt/src/config.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
config - set GMT defaults globally or locally.
2+
config - Change GMT default settings globally or locally.
33
"""
44

55
from inspect import Parameter, Signature
@@ -10,18 +10,18 @@
1010

1111
class config: # noqa: N801
1212
"""
13-
Set GMT defaults globally or locally.
13+
Change GMT default settings globally or locally.
1414
15-
Change GMT defaults globally::
15+
Change GMT default settings globally::
1616
1717
pygmt.config(PARAMETER=value)
1818
19-
Change GMT defaults locally by using it as a context manager::
19+
Change GMT default settings locally by using it as a context manager::
2020
2121
with pygmt.config(PARAMETER=value):
2222
...
2323
24-
Full GMT defaults list at :gmt-docs:`gmt.conf.html`
24+
Full GMT defaults list at :gmt-docs:`gmt.conf.html`.
2525
"""
2626

2727
# Manually set the __signature__ attribute to enable tab autocompletion

pygmt/src/contour.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
contour - Plot contour table data.
2+
contour - Contour table data by direct triangulation.
33
"""
44

55
from pygmt.clib import Session

pygmt/src/dimfilter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
@kwargs_to_strings(I="sequence", R="sequence")
2323
def dimfilter(grid, outgrid: str | None = None, **kwargs) -> xr.DataArray | None:
2424
r"""
25-
Filter a grid by dividing the filter circle.
25+
Directional filtering of grids in the space domain.
2626
2727
Filter a grid in the space (or time) domain by
2828
dividing the given filter circle into the given number of sectors,

pygmt/src/filter1d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
filter1d - Time domain filtering of 1-D data tables
2+
filter1d - Time domain filtering of 1-D data tables.
33
"""
44

55
from typing import Literal

pygmt/src/grd2cpt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
grd2cpt - Create a CPT from a grid file.
2+
grd2cpt - Make linear or histogram-equalized color palette table from grid.
33
"""
44

55
from pygmt.clib import Session
@@ -33,7 +33,7 @@
3333
@kwargs_to_strings(G="sequence", L="sequence", R="sequence", T="sequence")
3434
def grd2cpt(grid, **kwargs):
3535
r"""
36-
Make GMT color palette tables from a grid file.
36+
Make linear or histogram-equalized color palette table from grid.
3737
3838
This function will help you to make static color palette tables (CPTs).
3939
By default, the CPT will be saved as the current CPT of the session,

pygmt/src/grd2xyz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
grd2xyz - Convert grid to data table
2+
grd2xyz - Convert grid to data table.
33
"""
44

55
from typing import Literal

0 commit comments

Comments
 (0)