You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Semi-transparency for pen (-W) affects also fill (-G) of symbols #8867
Setting a semi-transparency for the pen color (-W) leads also to a semi-transparency of the fill color (-G).
For me, this occurs using GMT 6.5.0 - dev, but not for GMT 6.4.0.
Full script that generated the error
gmt begin pen_transparent png
gmt basemap -R-5/5/-2/2 -JX10c/4c -B
echo 0 0 | gmt plot -Ss1c -Gbrown -W1p,blue@50
gmt end show
Ran a few tests and determined that if the transparency is explicitly specified for the -W and -G options it will use the specified values. Also if just the -G transparency is specified the -W transparency is not impacted. so the problem only manifests when the pen transparency is specified but the fill transparency is not.
Ran a few tests and determined that if the transparency is explicitly specified for the -W and -G options it will use the specified values. Also if just the -G transparency is specified the -W transparency is not impacted. so the problem only manifests when the pen transparency is specified but the fill transparency is not.
Thanks for looking at this issue. This is what I also found. First found it in PyGMT; only posted the GMT code for the failing one.
Activity
[-]Semi-transparency of pen affects fill[/-][+]Semi-transparency for pen (-W) affects also fill (-G) of symbols[/+]ES-Solar commentedon Jan 21, 2026
Ran a few tests and determined that if the transparency is explicitly specified for the -W and -G options it will use the specified values. Also if just the -G transparency is specified the -W transparency is not impacted. so the problem only manifests when the pen transparency is specified but the fill transparency is not.
yvonnefroehlich commentedon Jan 21, 2026
Thanks for looking at this issue. This is what I also found. First found it in PyGMT; only posted the GMT code for the failing one.
joa-quim commentedon Jan 21, 2026
Next step. The debugger 😄