Plots.jl icon indicating copy to clipboard operation
Plots.jl copied to clipboard

Saving to PNG adds lines back when linewidth=0

Open joshday opened this issue 6 years ago • 4 comments

I opened an issue in GR, but this is possibly due to how Plots treats line widths.

https://github.com/jheinen/GR.jl/issues/147#issuecomment-419614495

joshday avatar Sep 08 '18 12:09 joshday

See also https://github.com/JuliaPlots/Plots.jl/issues/1416. You can use linecolor = invisible() as a workaround.

daschw avatar Sep 09 '18 07:09 daschw

Or probably linealpha = 0 is also sufficient.

daschw avatar Sep 09 '18 07:09 daschw

But i think we could include this workaround in the gr backend code.

daschw avatar Sep 09 '18 08:09 daschw

Neither linecolor = invisible() nor linealpha = 0 work for me when saving to PDF. What am I supposed to do instead?

giancarloantonucci avatar Nov 07 '23 23:11 giancarloantonucci