14
14
15
15
16
16
@fmt_docstring
17
- @use_alias (
18
- B = "frame" ,
19
- G = "fill" ,
20
- R = "region" ,
21
- W = "pen" ,
22
- p = "perspective" ,
23
- )
17
+ @use_alias (B = "frame" , R = "region" , p = "perspective" )
24
18
@kwargs_to_strings (R = "sequence" , p = "sequence" )
25
19
def solar (
26
20
self ,
27
21
terminator : Literal ["astronomical" , "civil" , "day_night" , "nautical" ] = "day_night" ,
28
22
terminator_datetime = None ,
23
+ fill : str | None = None ,
24
+ pen : str | None = None ,
29
25
projection = None ,
30
26
verbose : Literal ["quiet" , "error" , "warning" , "timing" , "info" , "compat" , "debug" ]
31
27
| bool = False ,
@@ -42,9 +38,11 @@ def solar(
42
38
Full GMT docs at :gmt-docs:`solar.html`.
43
39
44
40
{aliases}
41
+ - G = fill
45
42
- J = projection
46
43
- T = terminator, **+d**: terminator_datetime
47
44
- V = verbose
45
+ - W = pen
48
46
- c = panel
49
47
- t = transparency
50
48
@@ -67,9 +65,9 @@ def solar(
67
65
{region}
68
66
{projection}
69
67
{frame}
70
- fill : str
68
+ fill
71
69
Set color or pattern for filling terminators [Default is no fill].
72
- pen : str
70
+ pen
73
71
Set pen attributes for lines [Default is ``"0.25p,black,solid"``].
74
72
{verbose}
75
73
{panel}
@@ -114,6 +112,7 @@ def solar(
114
112
raise GMTValueError (terminator_datetime , description = "datetime" ) from verr
115
113
116
114
aliasdict = AliasSystem (
115
+ G = Alias (fill , name = "fill" ),
117
116
T = [
118
117
Alias (
119
118
terminator ,
@@ -127,6 +126,7 @@ def solar(
127
126
),
128
127
Alias (datetime_string , name = "terminator_datetime" , prefix = "+d" ),
129
128
],
129
+ W = Alias (pen , name = "pen" ),
130
130
).add_common (
131
131
J = projection ,
132
132
V = verbose ,
0 commit comments