Skip to content

Commit a2271a2

Browse files
committed
Update Figure.timestamp
1 parent ba63f1a commit a2271a2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

pygmt/src/timestamp.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def timestamp(
2222
font: str = "Helvetica,black",
2323
timefmt: str = "%Y %b %d %H:%M:%S",
2424
):
25-
r"""
25+
"""
2626
Plot the GMT timestamp logo.
2727
2828
Add the GMT timestamp logo with an optional label at the bottom-left corner relative
@@ -37,7 +37,8 @@ def timestamp(
3737
text
3838
If ``None``, the current UNIX timestamp is shown in the GMT timestamp logo. Set
3939
this parameter to replace the UNIX timestamp with a custom text string instead.
40-
The text must be no longer than 64 characters.
40+
The text must be no longer than 64 characters; longer strings are truncated and
41+
raise a :class:`RuntimeWarning`.
4142
label
4243
The text string shown after the GMT timestamp logo.
4344
justify

0 commit comments

Comments
 (0)