Here:
using Plots
vals = [1.0 + rand() for _ in 1:10]
bar(vals)
How do I remove the space between the bars (and make them be tight)?
Here:
using Plots
vals = [1.0 + rand() for _ in 1:10]
bar(vals)
How do I remove the space between the bars (and make them be tight)?
Hi there,
you can add bar(vals, bar_width=1)
and each bar will be next to each other.
Also, you can take a look at more attributes Bar plot customizations
Let me know if this helps.
Works perfectly, thanks a lot!