Skip to content

Commit df7a666

Browse files
yvonnefroehlichJosh Sixsmith
authored andcommitted
Fix typos in psconvert in the file figure.py (GenericMappingTools#2048)
1 parent f23df3a commit df7a666

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pygmt/figure.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def psconvert(self, icc_gray=False, **kwargs):
145145
PDF, PNG, PPM, SVG, TIFF) using GhostScript.
146146
147147
If no input files are given, will convert the current active figure
148-
(see :func:`pygmt.figure`). In this case, an output name must be given
148+
(see :func:`pygmt.Figure`). In this case, an output name must be given
149149
using parameter *prefix*.
150150
151151
Full option list at :gmt-docs:`psconvert.html`
@@ -167,7 +167,7 @@ def psconvert(self, icc_gray=False, **kwargs):
167167
Specify a single, custom option that will be passed on to
168168
GhostScript as is.
169169
dpi : int
170-
Set raster resolution in dpi. Default = 720 for PDF, 300 for
170+
Set raster resolution in dpi. Default is 720 for PDF, 300 for
171171
others.
172172
prefix : str
173173
Force the output file name. By default output names are constructed
@@ -176,7 +176,7 @@ def psconvert(self, icc_gray=False, **kwargs):
176176
but without extension. Extension is still determined automatically.
177177
resize : str
178178
[**+m**\ *margins*][**+s**\ [**m**]\ *width*\
179-
[/\ *height*]][**+S**\ *scale*] ].
179+
[/\ *height*]][**+S**\ *scale*].
180180
Adjust the BoundingBox and HiResBoundingBox by scaling and/or
181181
adding margins. Append **+m** to specify extra margins to extend
182182
the bounding box. Give either one (uniform), two (x and y) or four
@@ -198,9 +198,9 @@ def psconvert(self, icc_gray=False, **kwargs):
198198
towards black (100%) [no fading, 0]. Append **+g**\ *paint* to
199199
paint the BoundingBox behind the illustration and append **+p**\
200200
[*pen*] to draw the BoundingBox outline (append a pen or accept
201-
the default pen of 0.25p,black). Note: If both **+g** and **+f**
202-
are used then we use paint as the fade color instead of black.
203-
Append **+i** to enforce gray-shades by using ICC profiles.
201+
the default pen of 0.25p,black). **Note**: If both **+g** and
202+
**+f** are used then we use paint as the fade color instead of
203+
black. Append **+i** to enforce gray-shades by using ICC profiles.
204204
anti_aliasing : str
205205
[**g**\|\ **p**\|\ **t**\][**1**\|\ **2**\|\ **4**].
206206
Set the anti-aliasing options for **g**\ raphics or **t**\ ext.

0 commit comments

Comments
 (0)