Skip to content

Commit 40942f0

Browse files
Chuan1937seisman
andauthored
Update pygmt/src/text.py
Co-authored-by: Dongdong Tian <[email protected]>
1 parent 99c6b04 commit 40942f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygmt/src/text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def text_( # noqa: PLR0912, PLR0913, PLR0915
213213
raise GMTInvalidInput(msg)
214214
if kind == "empty" and text is None:
215215
raise GMTParameterError(
216-
required="text", reason="Must provide text with x/y pairs."
216+
required="text", reason="Required when 'x' and 'y' are set."
217217
)
218218

219219
# Arguments that can accept arrays.

0 commit comments

Comments
 (0)