Is there a way to disable the black borders around bars in bar plots in Plots.jl
? With many data points they become useless and make the colors useless:
n = 300
bar(
range(0, 1; length=n),
rand(n))
Is there a way to disable the black borders around bars in bar plots in Plots.jl
? With many data points they become useless and make the colors useless:
n = 300
bar(
range(0, 1; length=n),
rand(n))
Try either linecolor=nothing
, which leaves small gaps between bars. Or select same color for bars and borders linecolor=:blue,color=:blue
works like a charm. thank you!
if you want to use the default colors: use for linecolor
and color
1
, 2
and so on
You can also use linecolor = :match
for bar plots and shapes.
Another possibility would be:
n = 300
plot(seriestype = :sticks,
range(0, 1; length=n),
rand(n))