From 3ba0d49d3b94d68629b0a41d4c94f0c6f83493d4 Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Sat, 24 Sep 2022 08:48:22 +0200 Subject: [PATCH 1/4] Fix pen Default value in 'coast.py' --- pygmt/src/coast.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pygmt/src/coast.py b/pygmt/src/coast.py index 683d345d657..403d89b7d18 100644 --- a/pygmt/src/coast.py +++ b/pygmt/src/coast.py @@ -85,8 +85,7 @@ def coast(self, **kwargs): rivers : int or str or list *river*\ [/*pen*]. Draw rivers. Specify the type of rivers and [optionally] append - pen attributes [Default pen is width = default, color = black, - style = solid]. + pen attributes [Default is ``"0.25p,black,solid"``]. Choose from the list of river types below; pass a list to ``rivers`` to use multiple arguments. @@ -133,8 +132,8 @@ def coast(self, **kwargs): borders : int or str or list *border*\ [/*pen*]. Draw political boundaries. Specify the type of boundary and - [optionally] append pen attributes [Default pen is width = default, - color = black, style = solid]. + [optionally] append pen attributes + [Default is ``"0.25p,black,solid"``]. Choose from the list of boundaries below. Pass a list to ``borders`` to use multiple arguments. @@ -152,7 +151,7 @@ def coast(self, **kwargs): shorelines : int or str or list [*level*\ /]\ *pen*. Draw shorelines [Default is no shorelines]. Append pen attributes - [Default is width = default, color = black, style = solid] which + [Default is ``"0.25p,black,solid"``] which apply to all four levels. To set the pen for a single level, pass a string with *level*\ /*pen*\ , where level is 1-4 and represent coastline, lakeshore, island-in-lake shore, and From d889e1c38461310f150b1855a7c80531d4452ed1 Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Sat, 24 Sep 2022 08:49:14 +0200 Subject: [PATCH 2/4] Fix pen Default value in 'solar.py' --- pygmt/src/solar.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pygmt/src/solar.py b/pygmt/src/solar.py index 31148e502de..32d6bb637ef 100644 --- a/pygmt/src/solar.py +++ b/pygmt/src/solar.py @@ -55,8 +55,7 @@ def solar(self, terminator="d", terminator_datetime=None, **kwargs): fill : str Color or pattern for filling of terminators. pen : str - Set pen attributes for lines. The default pen - is ``"0.25p,black,solid"``. + Set pen attributes for lines [Default is ``"0.25p,black,solid"``]. {timestamp} {verbose} {xyshift} From 2e2c0df2fbcee3245de42278600b466953905a19 Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Sat, 24 Sep 2022 08:50:07 +0200 Subject: [PATCH 3/4] Fix pen Default value in 'text.py' --- pygmt/src/text.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pygmt/src/text.py b/pygmt/src/text.py index cc64997c40b..dd33413fd3b 100644 --- a/pygmt/src/text.py +++ b/pygmt/src/text.py @@ -144,8 +144,7 @@ def text_( for this line. pen : str Sets the pen used to draw a rectangle around the text string - (see ``clearance``) [Default is width = default, color = black, - style = solid]. + (see ``clearance``) [Default is ``"0.25p,black,solid"``]. no_clip : bool Do NOT clip text at map boundaries [Default is will clip]. {timestamp} From cfa9caf96da08c35e612a78792aee5f3142094d5 Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Sat, 24 Sep 2022 09:14:39 +0200 Subject: [PATCH 4/4] Fix pen Default value in 'velo.py' --- pygmt/src/velo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygmt/src/velo.py b/pygmt/src/velo.py index c396c327bf2..79cb6051e8c 100644 --- a/pygmt/src/velo.py +++ b/pygmt/src/velo.py @@ -213,7 +213,7 @@ def velo(self, data=None, **kwargs): pen : str [*pen*][**+c**\ [**f**\|\ **l**]]. Set pen attributes for velocity arrows, ellipse circumference and fault - plane edges. [Defaults: width = default, color = black, style = solid]. + plane edges [Default is ``"0.25p,black,solid"``]. If the modifier **+cl** is appended then the color of the pen is updated from the CPT (see ``cmap``). If instead modifier **+cf** is appended then the color from the cpt file is applied to symbol fill