Skip to content

Commit 3d92d32

Browse files
committed
Fix the size of the hexagon outline
1 parent 822c6de commit 3d92d32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pygmt/src/pygmtlogo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def _create_logo( # noqa: PLR0915
7575
hex_factor = 1.0
7676
case "hexagon":
7777
symbol = "h"
78-
size_shape = (r0 + 0.34) * 2
78+
size_shape = (r0 + r1) / np.cos(np.deg2rad(30))
7979
hex_factor = 1.1
8080

8181
# Define wordmark

0 commit comments

Comments
 (0)