Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace 'argument' by 'parameter' in 'contour_map.py' and 'lines.py' #2077

Merged
merged 2 commits into from
Aug 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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