From 9cd87fba74a47f6447fec8079deed328f16f642a Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sun, 29 Mar 2026 11:38:42 +0800 Subject: [PATCH] Fix timestamp docstring wording --- pygmt/src/timestamp.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pygmt/src/timestamp.py b/pygmt/src/timestamp.py index 8059c8d57fd..b8a72e17631 100644 --- a/pygmt/src/timestamp.py +++ b/pygmt/src/timestamp.py @@ -35,8 +35,9 @@ def timestamp( Parameters ---------- text - If ``None``, the current UNIX timestamp is shown in the GMT timestamp logo. Set - this parameter to replace the UNIX timestamp with a custom text string instead. + If ``None``, the current date and time are shown in the GMT timestamp logo. Set + this parameter to replace the timestamp string with a custom text string + instead. The text must be no longer than 64 characters; longer strings are truncated and raise a :class:`RuntimeWarning`. label @@ -54,9 +55,9 @@ def timestamp( height, the font sizes are fixed to be 8-point for the timestamp and 7-point for the label. timefmt - Format string for the UNIX timestamp. The format string is parsed by the C - function ``strftime``, so that virtually any text can be used (even not - containing any time information). + Format string for the timestamp. The format string is parsed by the C function + ``strftime``, so that virtually any text can be used (even not containing any + time information). Examples --------