Skip to content

Commit 817b28a

Browse files
Replace 'argument' by 'parameter' in 'contour_map.py' and 'lines.py' (#2077)
1 parent d80b986 commit 817b28a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

examples/tutorials/advanced/contour_map.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# Contour line settings
3232
# ---------------------
3333
#
34-
# Use the ``annotation`` and ``interval`` arguments to adjust contour line
34+
# Use the ``annotation`` and ``interval`` parameters to adjust contour line
3535
# intervals. In the example below, there are contour intervals every 250 meters
3636
# and annotated contour lines every 1,000 meters.
3737

@@ -47,8 +47,8 @@
4747
# Contour limits
4848
# --------------
4949
#
50-
# The ``limit`` argument sets the minimum and maximum values for the contour
51-
# lines. The argument takes the low and high values, and is either a list (as
50+
# The ``limit`` parameter sets the minimum and maximum values for the contour
51+
# lines. The parameter takes the low and high values, and is either a list (as
5252
# below) or a string ``limit="-4000/-2000"``.
5353

5454
fig = pygmt.Figure()
@@ -64,7 +64,7 @@
6464
# Map settings
6565
# ------------
6666
#
67-
# The :meth:`pygmt.Figure.grdcontour` method accepts additional arguments,
67+
# The :meth:`pygmt.Figure.grdcontour` method accepts additional parameters,
6868
# including setting the projection and frame.
6969

7070
fig = pygmt.Figure()
@@ -85,7 +85,7 @@
8585
# The :meth:`pygmt.Figure.grdimage` method can be used to add a
8686
# colormap to the contour map. It must be called prior to
8787
# :meth:`pygmt.Figure.grdcontour` to keep the contour lines visible on the
88-
# final map. If the ``projection`` argument is specified in the
88+
# final map. If the ``projection`` parameter is specified in the
8989
# :meth:`pygmt.Figure.grdimage` method, it does not need to be repeated in the
9090
# :meth:`pygmt.Figure.grdcontour` method.
9191

examples/tutorials/basics/lines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
###############################################################################
4646
# To plot multiple lines, :meth:`pygmt.Figure.plot` needs to be used for each
47-
# additional line. Arguments such as ``region``, ``projection``, and ``frame``
47+
# additional line. Parameters such as ``region``, ``projection``, and ``frame``
4848
# do not need to be repeated in subsequent uses.
4949

5050
fig = pygmt.Figure()

0 commit comments

Comments
 (0)