Skip to content

Commit 01e6a41

Browse files
Merge remote-tracking branch 'origin/code-pygmt-logo' into code-pygmt-logo
2 parents 23bed9a + 96c9ed2 commit 01e6a41

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pygmt/src/pygmtlogo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def _letter_t_coords():
127127
arc_inner_x, arc_inner_y = np.cos(inner_angles) * r3, np.sin(inner_angles) * r3
128128
# The arrowhead is an equilateral triangle
129129
x0 = thick_gt / 2 # Extra half-width for arrow head
130-
y0 = 2 * x0 * np.sqrt(3) # Height for arrow head
130+
y0 = 1.8 * x0 * np.sqrt(3) # Height for arrow head
131131
arrow_x = [-x0, -x0, -x0 * 2.0, 0, x0 * 2.0, x0, x0]
132132
arrow_y = [-r2, -r0 + y0, -r0 + y0, -r0, -r0 + y0, -r0 + y0, -r2]
133133
mask_left = arc_outer_x < -x0
@@ -146,8 +146,8 @@ def _bg_arrow_coords():
146146
"""Coordinates for the background arrow."""
147147
# x0, y0 is the same as in _letter_t_coords().
148148
x0 = thick_gt / 2
149-
y0 = 2 * x0 * np.sqrt(3)
150-
arrow_x = [-x0 * 3.0, -x0, x0, x0 * 3.0]
149+
y0 = 1.8 * x0 * np.sqrt(3)
150+
arrow_x = [-x0 * 2 - thick_comp/2, -thick_comp/2, thick_comp/2, x0 * 2 + thick_comp/2]
151151
arrow_y = [-r0 + y0, -r0, -r0, -r0 + y0]
152152
return {"x": arrow_x, "y": arrow_y}
153153

0 commit comments

Comments
 (0)