Skip to content

Commit a9a909e

Browse files
authored
Figure.timestamp: Fix wording in docstrings (#4478)
1 parent 864f9b0 commit a9a909e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

pygmt/src/timestamp.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ def timestamp(
3535
Parameters
3636
----------
3737
text
38-
If ``None``, the current UNIX timestamp is shown in the GMT timestamp logo. Set
39-
this parameter to replace the UNIX timestamp with a custom text string instead.
38+
If ``None``, the current date and time are shown in the GMT timestamp logo. Set
39+
this parameter to replace the timestamp string with a custom text string
40+
instead.
4041
The text must be no longer than 64 characters; longer strings are truncated and
4142
raise a :class:`RuntimeWarning`.
4243
label
@@ -54,9 +55,9 @@ def timestamp(
5455
height, the font sizes are fixed to be 8-point for the timestamp and 7-point for
5556
the label.
5657
timefmt
57-
Format string for the UNIX timestamp. The format string is parsed by the C
58-
function ``strftime``, so that virtually any text can be used (even not
59-
containing any time information).
58+
Format string for the timestamp. The format string is parsed by the C function
59+
``strftime``, so that virtually any text can be used (even not containing any
60+
time information).
6061
6162
Examples
6263
--------

0 commit comments

Comments
 (0)