# How to remove the bar strokeline in Plots.jl

**URL:** <https://discourse.julialang.org/t/how-to-remove-the-bar-strokeline-in-plots-jl/24753>\
**Category:** Visualization\
**Created:** [May 29, 2019, 10:20pm UTC](https://discourse.julialang.org/t/how-to-remove-the-bar-strokeline-in-plots-jl/24753 "2019-05-29T22:20:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![babaq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/babaq/32/891_2.png) [@babaq](https://discourse.julialang.org/u/babaq)\
**Post date:** [May 29, 2019, 10:20pm UTC](https://discourse.julialang.org/t/how-to-remove-the-bar-strokeline-in-plots-jl/24753/1 "2019-05-29T22:20:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![yha](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yha/32/3502_2.png) [@yha](https://discourse.julialang.org/u/yha)\
**Post date:** [May 30, 2019, 12:48am UTC](https://discourse.julialang.org/t/how-to-remove-the-bar-strokeline-in-plots-jl/24753/2 "2019-05-30T00:48:03Z")

</div>

You can set `linecolor` the same as `color`

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

```

---

<div class="post-metadata">

**Author:** ![babaq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/babaq/32/891_2.png) [@babaq](https://discourse.julialang.org/u/babaq)\
**Post date:** [May 30, 2019, 1:35am UTC](https://discourse.julialang.org/t/how-to-remove-the-bar-strokeline-in-plots-jl/24753/3 "2019-05-30T01:35:53Z")

</div>

oh, yes, this works as well.

Thanks.

---

<div class="post-metadata">

**Author:** ![mkborregaard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkborregaard/32/556_2.png) [@mkborregaard](https://discourse.julialang.org/u/mkborregaard)\
**Post date:** [May 30, 2019, 6:25am UTC](https://discourse.julialang.org/t/how-to-remove-the-bar-strokeline-in-plots-jl/24753/4 "2019-05-30T06:25:03Z")

</div>

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