We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa628d5 commit 96c9ed2Copy full SHA for 96c9ed2
1 file changed
pygmt/src/pygmtlogo.py
@@ -129,7 +129,7 @@ def _letter_t_coords():
129
arc_inner_x, arc_inner_y = np.cos(inner_angles) * r3, np.sin(inner_angles) * r3
130
# The arrowhead is an equilateral triangle
131
x0 = thick_gt / 2 # Extra half-width for arrow head
132
- y0 = 2 * x0 * np.sqrt(3) # Height for arrow head
+ y0 = 1.8 * x0 * np.sqrt(3) # Height for arrow head
133
arrow_x = [-x0, -x0, -x0 * 2.0, 0, x0 * 2.0, x0, x0]
134
arrow_y = [-r2, -r0 + y0, -r0 + y0, -r0, -r0 + y0, -r0 + y0, -r2]
135
mask_left = arc_outer_x < -x0
@@ -148,7 +148,7 @@ def _bg_arrow_coords():
148
"""Coordinates for the background arrow."""
149
# x0, y0 is the same as in _letter_t_coords().
150
x0 = thick_gt / 2
151
- y0 = 2 * x0 * np.sqrt(3)
+ y0 = 1.8 * x0 * np.sqrt(3)
152
arrow_x = [-x0 * 2 - thick_comp/2, -thick_comp/2, thick_comp/2, x0 * 2 + thick_comp/2]
153
arrow_y = [-r0 + y0, -r0, -r0, -r0 + y0]
154
return {"x": arrow_x, "y": arrow_y}
0 commit comments