Skip to content

Commit

Permalink
Figure.psconvert: Add a new alias gs_path (-G) (GenericMappingTools#2076
Browse files Browse the repository at this point in the history
)
  • Loading branch information
seisman authored and Josh Sixsmith committed Dec 21, 2022
1 parent 6e05ee4 commit a35f34e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pygmt/figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def region(self):
C="gs_option",
E="dpi",
F="prefix",
G="gs_path",
I="resize",
N="bb_style",
T="fmt",
Expand All @@ -142,7 +143,7 @@ def psconvert(self, icc_gray=False, **kwargs):
Convert [E]PS file(s) to other formats.
Converts one or more PostScript files to other formats (BMP, EPS, JPEG,
PDF, PNG, PPM, SVG, TIFF) using GhostScript.
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
Expand All @@ -163,9 +164,11 @@ def psconvert(self, icc_gray=False, **kwargs):
creating very small images where the difference of one pixel
might matter. If ``verbose`` is used we also report the
dimensions of the final illustration.
gs_path : str
Full path to the Ghostscript executable.
gs_option : str
Specify a single, custom option that will be passed on to
GhostScript as is.
Ghostscript as is.
dpi : int
Set raster resolution in dpi. Default is 720 for PDF, 300 for
others.
Expand Down

0 comments on commit a35f34e

Please sign in to comment.