Skip to content

Fix typos in psconvert in the file figure.py #2048

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

Merged
merged 4 commits into from
Aug 13, 2022
Merged
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
12 changes: 6 additions & 6 deletions pygmt/figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def psconvert(self, icc_gray=False, **kwargs):
PDF, PNG, PPM, SVG, TIFF) using GhostScript.

If no input files are given, will convert the current active figure
(see :func:`pygmt.figure`). In this case, an output name must be given
(see :func:`pygmt.Figure`). In this case, an output name must be given
using parameter *prefix*.

Full option list at :gmt-docs:`psconvert.html`
Expand All @@ -167,7 +167,7 @@ def psconvert(self, icc_gray=False, **kwargs):
Specify a single, custom option that will be passed on to
GhostScript as is.
dpi : int
Set raster resolution in dpi. Default = 720 for PDF, 300 for
Set raster resolution in dpi. Default is 720 for PDF, 300 for
others.
prefix : str
Force the output file name. By default output names are constructed
Expand All @@ -176,7 +176,7 @@ def psconvert(self, icc_gray=False, **kwargs):
but without extension. Extension is still determined automatically.
resize : str
[**+m**\ *margins*][**+s**\ [**m**]\ *width*\
[/\ *height*]][**+S**\ *scale*] ].
[/\ *height*]][**+S**\ *scale*].
Adjust the BoundingBox and HiResBoundingBox by scaling and/or
adding margins. Append **+m** to specify extra margins to extend
the bounding box. Give either one (uniform), two (x and y) or four
Expand All @@ -198,9 +198,9 @@ def psconvert(self, icc_gray=False, **kwargs):
towards black (100%) [no fading, 0]. Append **+g**\ *paint* to
paint the BoundingBox behind the illustration and append **+p**\
[*pen*] to draw the BoundingBox outline (append a pen or accept
the default pen of 0.25p,black). Note: If both **+g** and **+f**
are used then we use paint as the fade color instead of black.
Append **+i** to enforce gray-shades by using ICC profiles.
the default pen of 0.25p,black). **Note**: If both **+g** and
**+f** are used then we use paint as the fade color instead of
black. Append **+i** to enforce gray-shades by using ICC profiles.
anti_aliasing : str
[**g**\|\ **p**\|\ **t**\][**1**\|\ **2**\|\ **4**].
Set the anti-aliasing options for **g**\ raphics or **t**\ ext.
Expand Down