Skip to content

Commit 16fcce4

Browse files
committed
Fix typing issue
1 parent 8911a57 commit 16fcce4

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

pygmt/src/colorbar.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818

1919

2020
def _build_frame(
21-
annot: float | None = None,
22-
tick: float | None = None,
23-
grid: float | None = None,
21+
annot: float | bool = False,
22+
tick: float | bool = False,
23+
grid: float | bool = False,
2424
annot_angel: float | None = None,
2525
annot_prefix: str | None = None,
2626
annot_unit: str | None = None,
@@ -201,9 +201,9 @@ def colorbar( # noqa: PLR0913
201201
orientation: Literal["horizontal", "vertical"] | None = None,
202202
label: str | None = None,
203203
unit: str | None = None,
204-
annot: float | None = None,
205-
tick: float | None = None,
206-
grid: float | None = None,
204+
annot: float | bool = False,
205+
tick: float | bool = False,
206+
grid: float | bool = False,
207207
annot_angel: float | None = None,
208208
annot_prefix: str | None = None,
209209
annot_unit: str | None = None,

0 commit comments

Comments
 (0)