Skip to content

Commit b2c12c8

Browse files
committed
Fix static typing
1 parent 38e2c73 commit b2c12c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pygmt/params/box.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ class Box(BaseParam):
7272
shading_offset: Sequence[float | str] | None = None
7373
shading_fill: str | None = None
7474

75-
def _innerborder(self) -> str | None:
75+
def _innerborder(self) -> list[str | float] | None:
7676
"""
7777
innerborder="{inner_gap}/{inner_pen}"
7878
"""
7979
return [v for v in (self.inner_gap, self.inner_pen) if v is not None] or None
8080

81-
def _shading(self) -> str | None:
81+
def _shading(self) -> list[str | float] | None:
8282
"""
8383
shading="{shading_offset}/{shading_fill}"
8484
"""

0 commit comments

Comments
 (0)