diff --git a/pygmt/src/solar.py b/pygmt/src/solar.py index 586db1e7494..6aa59dd4527 100644 --- a/pygmt/src/solar.py +++ b/pygmt/src/solar.py @@ -14,18 +14,14 @@ @fmt_docstring -@use_alias( - B="frame", - G="fill", - R="region", - W="pen", - p="perspective", -) +@use_alias(B="frame", R="region", p="perspective") @kwargs_to_strings(R="sequence", p="sequence") def solar( self, terminator: Literal["astronomical", "civil", "day_night", "nautical"] = "day_night", terminator_datetime=None, + fill: str | None = None, + pen: str | None = None, projection=None, verbose: Literal["quiet", "error", "warning", "timing", "info", "compat", "debug"] | bool = False, @@ -42,9 +38,11 @@ def solar( Full GMT docs at :gmt-docs:`solar.html`. {aliases} + - G = fill - J = projection - T = terminator, **+d**: terminator_datetime - V = verbose + - W = pen - c = panel - t = transparency @@ -67,9 +65,9 @@ def solar( {region} {projection} {frame} - fill : str + fill Set color or pattern for filling terminators [Default is no fill]. - pen : str + pen Set pen attributes for lines [Default is ``"0.25p,black,solid"``]. {verbose} {panel} @@ -114,6 +112,7 @@ def solar( raise GMTValueError(terminator_datetime, description="datetime") from verr aliasdict = AliasSystem( + G=Alias(fill, name="fill"), T=[ Alias( terminator, @@ -127,6 +126,7 @@ def solar( ), Alias(datetime_string, name="terminator_datetime", prefix="+d"), ], + W=Alias(pen, name="pen"), ).add_common( J=projection, V=verbose,