Skip to content

Commit

Permalink
Fix a reversion in legend (missed a blank before -G) (#1569)
Browse files Browse the repository at this point in the history
  • Loading branch information
joa-quim authored Oct 26, 2024
1 parent b60169c commit f423b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common_options.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4696,7 +4696,7 @@ function put_in_legend_bag(d::Dict, cmd, arg, O::Bool=false, opt_l::String="")
cmd_[1] *= " -G" * arg2str(rgb.*255)
for k = 1:numel(pens)
gmt_get_rgb_from_z(G_API[1], P, arg[gindex[k+1],ind]+10eps(), rgb)
pens[k] *= @sprintf("-G%.0f/%.0f/%.0f", rgb[1]*255, rgb[2]*255, rgb[3]*255)
pens[k] *= @sprintf(" -G%.0f/%.0f/%.0f", rgb[1]*255, rgb[2]*255, rgb[3]*255)
end
end
end
Expand Down

0 comments on commit f423b47

Please sign in to comment.