Skip to content

Commit 6b85259

Browse files
Plot background line and arrow together
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
1 parent a5ba62a commit 6b85259

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

pygmt/src/pygmtlogo.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,16 @@ def _vline_coords(gap=0):
198198
fig.plot(x=0, y=0, pen=f"{thick_shape}c,{blue}", **args_shape)
199199
# fig.show()
200200

201+
# Background vertical line and arrow head
202+
fig.plot(data=_vline_coords(gap=thick_comp), fill=color_bg, perspective=True)
201203
fig.plot(data=_bg_arrow_coords(), fill=color_bg, perspective=True)
202204

203205
# Letters G, M, and T
204206
fig.plot(data=_letter_g_coords(), fill=red, perspective=True)
205207
fig.plot(data=_letter_m_coords(), fill=red, perspective=True)
206208
fig.plot(data=_letter_t_coords(), fill=red, perspective=True)
207209

208-
# Upper vertical lines
209-
fig.plot(data=_vline_coords(gap=thick_comp), fill=color_bg, perspective=True)
210+
# Upper vertical line
210211
fig.plot(data=_vline_coords(), fill=red, perspective=True)
211212

212213
# Outline around the shape for black and white color with dark theme

0 commit comments

Comments
 (0)