Skip to content

Commit 0c694ad

Browse files
committed
Fix a few typos
1 parent c45bec5 commit 0c694ad

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pygmt/helpers/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def build_arg_string(kwdict, infile=None, outfile=None):
150150
args : str
151151
The space-delimited argument string with '-' inserted before each
152152
keyword. The arguments are sorted alphabetically, with optional input
153-
file at the begining and optioanl output file at the end.
153+
file at the beginning and optional output file at the end.
154154
155155
Examples
156156
--------

pygmt/src/grdhisteq.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class grdhisteq: # pylint: disable=invalid-name
4040
which have an equal area in the image [Default is 16 if ``divisions`` is
4141
not set]. The :class:`pandas.DataFrame` or ASCII file output can be used to
4242
make a colormap with :meth:`pygmt.makecpt` and an image with
43-
:meth:`pygmt.Figure.grdimage` that has all levels of gray occuring
43+
:meth:`pygmt.Figure.grdimage` that has all levels of gray occurring
4444
equally.
4545
4646
:meth:`pygmt.grdhisteq.equalize_grid` provides a way to write a grid with
@@ -254,7 +254,7 @@ def compute_bins(
254254
``divisions`` is not set]. The :class:`pandas.DataFrame` or ASCII file
255255
output can be used to make a colormap with :meth:`pygmt.makecpt` and an
256256
image with :meth:`pygmt.Figure.grdimage` that has all levels of gray
257-
occuring equally.
257+
occurring equally.
258258
259259
Full option list at :gmt-docs:`grdhisteq.html`
260260

pygmt/tests/test_xyz2grd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def fixture_grid_result():
4242
@pytest.mark.parametrize("array_func", [np.array, xr.Dataset])
4343
def test_xyz2grd_input_array(array_func, ship_data, expected_grid):
4444
"""
45-
Run xyz2grd by passing in an xarray datset or numpy array.
45+
Run xyz2grd by passing in an xarray dataset or numpy array.
4646
"""
4747
output = xyz2grd(data=array_func(ship_data), spacing=5, region=[245, 255, 20, 30])
4848
assert isinstance(output, xr.DataArray)

0 commit comments

Comments
 (0)