From edb3438e81f0ac261973cc006dd0a40df366ffb0 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Fri, 15 Nov 2024 15:15:31 +1300 Subject: [PATCH] The text argument can be None --- pygmt/src/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygmt/src/text.py b/pygmt/src/text.py index c15c6b2e499..ad98711824b 100644 --- a/pygmt/src/text.py +++ b/pygmt/src/text.py @@ -48,7 +48,7 @@ def text_( # noqa: PLR0912 x=None, y=None, position: AnchorCode | None = None, - text: str | StringArrayTypes = None, + text: str | StringArrayTypes | None = None, angle=None, font=None, justify: bool | None | AnchorCode | Sequence[AnchorCode] = None,