Skip to content

Commit 49b5afd

Browse files
Docs: Correct syntax of function string for "projection" parameter (#2904)
1 parent 57e7083 commit 49b5afd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pygmt/helpers/decorators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@
281281
""",
282282
"projection": r"""
283283
projection : str
284-
*projcode*\[*projparams*/]\ *width*\ |*scale*.
284+
*projcode*\[*projparams*/]\ *width*\|\ *scale*.
285285
Select map :doc:`projection </projections/index>`.""",
286286
"region": r"""
287287
region : str or list
@@ -438,7 +438,7 @@ def fmt_docstring(module_func):
438438
*xmin/xmax/ymin/ymax*\ [**+r**][**+u**\ *unit*].
439439
Specify the :doc:`region </tutorials/basics/regions>` of interest.
440440
projection : str
441-
*projcode*\[*projparams*/]\ *width*\ |*scale*.
441+
*projcode*\[*projparams*/]\ *width*\|\ *scale*.
442442
Select map :doc:`projection </projections/index>`.
443443
<BLANKLINE>
444444
**Aliases:**

0 commit comments

Comments
 (0)