From 95d82f0eac0c992c2e83fc76da40305aab3e0d78 Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Wed, 10 Aug 2022 20:33:57 +0200 Subject: [PATCH 1/4] Use upper-case letter in 'figure.py' ('psconvert') --- pygmt/figure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygmt/figure.py b/pygmt/figure.py index 3a31fecf4ed..d4fda21ee79 100644 --- a/pygmt/figure.py +++ b/pygmt/figure.py @@ -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` From 539d010eccb4ff1c2f479d67ab1c5c0233c33039 Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Thu, 11 Aug 2022 12:46:55 +0200 Subject: [PATCH 2/4] Remove superfluous '[' --- pygmt/figure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygmt/figure.py b/pygmt/figure.py index d4fda21ee79..fe9a1d15dfb 100644 --- a/pygmt/figure.py +++ b/pygmt/figure.py @@ -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 From 08c259fe1496c9927bb4e178cdb7a689726c9c4c Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Thu, 11 Aug 2022 14:09:23 +0200 Subject: [PATCH 3/4] Set 'Note' bold --- pygmt/figure.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pygmt/figure.py b/pygmt/figure.py index fe9a1d15dfb..f570c05534f 100644 --- a/pygmt/figure.py +++ b/pygmt/figure.py @@ -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. From 95784c90d0c47b117f9711f7fd1f17a3deb7af2d Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Thu, 11 Aug 2022 14:31:29 +0200 Subject: [PATCH 4/4] Replace '=' by 'is' in 'figure.py' ('psconvert') --- pygmt/figure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygmt/figure.py b/pygmt/figure.py index f570c05534f..54aab1013af 100644 --- a/pygmt/figure.py +++ b/pygmt/figure.py @@ -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