File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
from collections .abc import Sequence
6
6
7
7
import numpy as np
8
- from pygmt ._typing import AnchorCode
8
+ from pygmt ._typing import AnchorCode , StringArrayTypes
9
9
from pygmt .clib import Session
10
10
from pygmt .exceptions import GMTInvalidInput
11
11
from pygmt .helpers import (
@@ -48,7 +48,7 @@ def text_( # noqa: PLR0912
48
48
x = None ,
49
49
y = None ,
50
50
position : AnchorCode | None = None ,
51
- text = None ,
51
+ text : str | StringArrayTypes = None ,
52
52
angle = None ,
53
53
font = None ,
54
54
justify : bool | None | AnchorCode | Sequence [AnchorCode ] = None ,
@@ -104,7 +104,7 @@ def text_( # noqa: PLR0912
104
104
105
105
For example, ``position="TL"`` plots the text at the Top Left corner
106
106
of the map.
107
- text : str or 1-D array
107
+ text
108
108
The text string, or an array of strings to plot on the figure.
109
109
angle: float, str, bool or list
110
110
Set the angle measured in degrees counter-clockwise from
You can’t perform that action at this time.
0 commit comments