Skip to content

Commit 1df07b3

Browse files
committed
Update remaining files
1 parent d69feca commit 1df07b3

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

examples/gallery/embellishments/scalebar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
independent) code. Choose from vertical **T**\(op), **M**\(iddle), or
3131
**B**\(ottom) and horizontal **L**\(eft), **C**\(entre), or **R**\(ight).
3232
- offset: **+o**\ *offset* or **+o**\ *xoffset*/\ *yoffset*. Give either a
33-
common shift or individual shifts in x (longitude) and y (latitude)
33+
common shift or individual shifts in x- (longitude) and y- (latitude)
3434
directions.
3535
- height: Use :gmt-term:`MAP_SCALE_HEIGHT` via :func:`pygmt.config`.
3636
- fancy style: **+f**. Get a scale bar that looks like train tracks.
@@ -77,7 +77,7 @@
7777
# -----------------------------------------------------------------------------
7878
# Bottom Right: Add a scale bar valid for a specific location
7979
# It is placed at BottomRight (j) using MiddleRight as anchor point (+j) with
80-
# an offset (+o) of 1 centimeter in both x and y directions
80+
# an offset (+o) of 1 centimeter in both x- and y-directions
8181
# It applies (+c) at -7° South, add a customized label by appending text to +l
8282
fig.basemap(map_scale="jBR+jMR+o1c/1c+c-7+w500k+f+u+lvalid at 7° S")
8383

examples/gallery/images/grdgradient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
# --------------- plotting the hillshade map -----------
4444

45-
# Shift plot origin of the second map by 12.5 cm in x direction
45+
# Shift plot origin of the second map by 12.5 cm in x-direction
4646
fig.shift_origin(xshift="12.5c")
4747

4848
pygmt.makecpt(cmap="gray", series=[-1.5, 0.3, 0.01])

examples/gallery/symbols/basic_symbols.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
fig.plot(x=6, y=y, style="x0.9c", pen="2p,gray40")
102102
fig.text(x=6, y=y + 0.6, text="x", font=font)
103103

104-
# use a dash in y direction (y) with a size of 0.9 cm,
104+
# use a dash in y-direction (y) with a size of 0.9 cm,
105105
# linewidth is set to 2p and the linecolor to "gray40"
106106
fig.plot(x=7, y=y, style="y0.9c", pen="2p,gray40")
107107
fig.text(x=7, y=y + 0.6, text="y", font=font)

examples/gallery/symbols/datetime_inputs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131

3232
fig = pygmt.Figure()
3333

34-
# create a basemap with limits of 2010-01-01 to 2020-06-01 on the x axis and
35-
# 0 to 10 on the y axis
34+
# create a basemap with limits of 2010-01-01 to 2020-06-01 on the x-axis and
35+
# 0 to 10 on the y-axis
3636
fig.basemap(
3737
projection="X15c/5c",
3838
region=[datetime.date(2010, 1, 1), datetime.date(2020, 6, 1), 0, 10],

examples/tutorials/advanced/legends.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
# -------------------
4848
#
4949
# Use the ``position`` parameter to adjust the position of the legend. Add an offset via
50-
# **+o** for the x and y directions. Additionally append **+w** to adjust the width
50+
# **+o** for the x- and y-directions. Additionally append **+w** to adjust the width
5151
# of the legend. Note, no box is drawn by default if ``position`` is used.
5252

5353
fig = pygmt.Figure()
@@ -58,7 +58,7 @@
5858
fig.plot(x=[-3, 3], y=[-2, -2], pen="darkred", label="darkred line")
5959

6060
# Set the reference point to the Top Left corner within (lowercase "j") the bounding box
61-
# of the plot and use offsets of 0.3 and 0.2 centimeters in the x and y directions,
61+
# of the plot and use offsets of 0.3 and 0.2 centimeters in the x- and y-directions,
6262
# respectively.
6363
fig.legend(position="jTL+o0.3c/0.2c")
6464

pygmt/src/grdgradient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def grdgradient(
5252
*azim*\ [/*azim2*].
5353
Azimuthal direction for a directional derivative; *azim* is the
5454
angle in the x,y plane measured in degrees positive clockwise from
55-
north (the +y direction) toward east (the +x direction). The
55+
north (the positive y-direction) toward east (the positive x-direction). The
5656
negative of the directional derivative,
5757
:math:`-(\frac{{dz}}{{dx}}\sin(\mbox{{azim}}) + \
5858
\frac{{dz}}{{dy}}\cos(\mbox{{azim}}))`, is found; negation yields

0 commit comments

Comments
 (0)