Skip to content

Commit a82bf6c

Browse files
committed
Update cores doc; remove unnecessary raw strings
1 parent e6ef47d commit a82bf6c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pygmt/helpers/decorators.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
is the first plot command.""",
2424
"B": """frame : bool or str or list
2525
Set map boundary frame and axes attributes.""",
26-
"U": r"""timestamp : bool or str
26+
"U": """timestamp : bool or str
2727
Draw GMT time stamp logo on plot.""",
2828
"CPT": """cmap : str
2929
File name of a CPT file or ``C='color1,color2[,color3,...]'`` to
@@ -79,17 +79,17 @@
7979
the viewpoint. Default is [180, 90]. Full documentation is at
8080
:gmt-docs:`gmt.html#perspective-full`.""",
8181
"registration": r"""registration : str
82-
``[g|p]``
82+
[**g**\|\ **p**].
8383
Force output grid to be gridline (g) or pixel (p) node registered.
8484
Default is gridline (g).""",
85-
"t": r"""transparency : float
85+
"t": """transparency : float
8686
Set transparency level, in [0-100] percent range.
8787
Default is 0, i.e., opaque.
8888
Only visible when PDF or raster format output is selected.
8989
Only the PNG format selection adds a transparency layer
9090
in the image (for further processing).""",
9191
"x": r"""cores : int
92-
``[[-]n]``.
92+
[[**-**\]\ *n*].
9393
Limit the number of cores to be used in any OpenMP-enabled
9494
multi-threaded algorithms. By default we try to use all available
9595
cores. Set a number *n* to only use n cores (if too large it will

0 commit comments

Comments
 (0)