Skip to content

Commit 5578ca4

Browse files
noorbuchiweiji14
andauthored
Apply suggestions from code review
Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
1 parent a945934 commit 5578ca4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/tutorials/date_time_charts.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@
288288
# it sets the main annotation and major tick spacing interval
289289
# to one month (**a1O**) (capital letter o, not zero). Additionally,
290290
# it sets the minor tick spacing interval to 1 day (**f1D**).
291-
# The labeling of this axis is also modified using
292-
# ``pygmt.config(FORMAT_DATE_MAP="o")`` to use the month's
291+
# The labeling of this axis can be modified by setting
292+
# :gmt-term:`FORMAT_DATE_MAP` to 'o' to use the month's
293293
# name instead of its number.
294294

295295
x = pd.date_range("2013-05-02", periods=10, freq="2D")
@@ -319,8 +319,8 @@
319319
# the day of the week.
320320
#
321321
# Another notable mention in this example is
322-
# ``pygmt.config(FORMAT_CLOCK_MAP="-hhAM")``
323-
# which specifies the used format for time.
322+
# setting :gmt-term:`FORMAT_CLOCK_MAP` to "-hhAM"
323+
# which specifies the format used for time.
324324
# In this case, leading zeros are removed
325325
# using **(-)**, and only hours are displayed.
326326
# Additionally, an AM/PM system is being used

0 commit comments

Comments
 (0)