Skip to content

Commit

Permalink
Replace 'argument' by 'parameter' in 'contour_map.py' and 'lines.py' (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonnefroehlich authored Aug 22, 2022
1 parent d80b986 commit 817b28a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions examples/tutorials/advanced/contour_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# Contour line settings
# ---------------------
#
# Use the ``annotation`` and ``interval`` arguments to adjust contour line
# Use the ``annotation`` and ``interval`` parameters to adjust contour line
# intervals. In the example below, there are contour intervals every 250 meters
# and annotated contour lines every 1,000 meters.

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

fig = pygmt.Figure()
Expand All @@ -64,7 +64,7 @@
# Map settings
# ------------
#
# The :meth:`pygmt.Figure.grdcontour` method accepts additional arguments,
# The :meth:`pygmt.Figure.grdcontour` method accepts additional parameters,
# including setting the projection and frame.

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

Expand Down
2 changes: 1 addition & 1 deletion examples/tutorials/basics/lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

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

fig = pygmt.Figure()
Expand Down

0 comments on commit 817b28a

Please sign in to comment.