How to remove the bar strokeline in Plots.jl

Hi,

I am trying to do a bar plot, with no gap between them, but I don’t know how to remove the black stroke lines around each bar.

Anyone knows how to achieve this in Plots?
Thanks

You can set linecolor the same as color

bar([1,2,3], bar_width=1, c=1, lc=1)

oh, yes, this works as well.

Thanks.

Or linewidth = 0 or linecolor = :transparent. The ideomatic way to have it match the bar color is linecolor = :match.

1 Like