Skip to content

Commit 96c9ed2

Browse files
Adjust size of arrow head
Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com>
1 parent fa628d5 commit 96c9ed2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pygmt/src/pygmtlogo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def _letter_t_coords():
129129
arc_inner_x, arc_inner_y = np.cos(inner_angles) * r3, np.sin(inner_angles) * r3
130130
# The arrowhead is an equilateral triangle
131131
x0 = thick_gt / 2 # Extra half-width for arrow head
132-
y0 = 2 * x0 * np.sqrt(3) # Height for arrow head
132+
y0 = 1.8 * x0 * np.sqrt(3) # Height for arrow head
133133
arrow_x = [-x0, -x0, -x0 * 2.0, 0, x0 * 2.0, x0, x0]
134134
arrow_y = [-r2, -r0 + y0, -r0 + y0, -r0, -r0 + y0, -r0 + y0, -r2]
135135
mask_left = arc_outer_x < -x0
@@ -148,7 +148,7 @@ def _bg_arrow_coords():
148148
"""Coordinates for the background arrow."""
149149
# x0, y0 is the same as in _letter_t_coords().
150150
x0 = thick_gt / 2
151-
y0 = 2 * x0 * np.sqrt(3)
151+
y0 = 1.8 * x0 * np.sqrt(3)
152152
arrow_x = [-x0 * 2 - thick_comp/2, -thick_comp/2, thick_comp/2, x0 * 2 + thick_comp/2]
153153
arrow_y = [-r0 + y0, -r0, -r0, -r0 + y0]
154154
return {"x": arrow_x, "y": arrow_y}

0 commit comments

Comments
 (0)