Skip to content

Commit 6c890cf

Browse files
committed
Add more type hints
1 parent a36b8af commit 6c890cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pygmt/src/directional_rose.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
def directional_rose( # noqa: PLR0913
1515
self,
16-
position,
16+
position: Sequence[str | float] | AnchorCode,
1717
position_type: Literal[
1818
"mapcoords", "inside", "outside", "boxcoords", "plotcoords"
1919
] = "mapcoords",
@@ -98,7 +98,7 @@ def directional_rose( # noqa: PLR0913
9898
"plotcoords": "x",
9999
},
100100
),
101-
Alias(position, name="position", sep="/"),
101+
Alias(position, name="position", sep="/", size=2),
102102
Alias(width, name="width", prefix="+w"),
103103
Alias(fancy, name="fancy", prefix="+f"),
104104
Alias(justify, name="justify", prefix="+j"),

0 commit comments

Comments
 (0)