# How do I make an histogram with no vertical edges between bars in Plots.jl?

**URL:** <https://discourse.julialang.org/t/how-do-i-make-an-histogram-with-no-vertical-edges-between-bars-in-plots-jl/80671>\
**Category:** Visualization\
**Tags:** plots, style, histogram\
**Created:** [May 7, 2022, 2:41pm UTC](https://discourse.julialang.org/t/how-do-i-make-an-histogram-with-no-vertical-edges-between-bars-in-plots-jl/80671 "2022-05-07T14:41:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ultrapoci](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ultrapoci/32/25356_2.png) [@ultrapoci](https://discourse.julialang.org/u/ultrapoci)\
**Post date:** [May 7, 2022, 2:41pm UTC](https://discourse.julialang.org/t/how-do-i-make-an-histogram-with-no-vertical-edges-between-bars-in-plots-jl/80671/1 "2022-05-07T14:41:57Z")

</div>

I would like to make an histogram like this one:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/8/9/893425c2167d4e3b11559c3556be4dd77c49f5e4.jpeg)  
but I don’t know how to do it. I can set the `fillalpha` option to zero to have empty bars, but the vertical edges remain:  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/b/9/b91a86f6811cf3671ae26e5b64df224f52b5c535.png)  
And if I set `linecolor` to `:transparent`, the external outline also is removed. Is there a way to only leave the external outline of the histogram?  
I’m using Plots.jl with `GR` as backend. I’m willing to change backend if necessary, but I’m not sure which one to use.

---

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [May 7, 2022, 3:09pm UTC](https://discourse.julialang.org/t/how-do-i-make-an-histogram-with-no-vertical-edges-between-bars-in-plots-jl/80671/2 "2022-05-07T15:09:40Z")

</div>

In StatsBase, if you compute the histogram `h` then you could plot it as follows:

```julia
using StatsBase, Distributions, Plots; gr()
data = rand(Normal(),10_000)
h = fit(Histogram, data, nbins=100)
plot(h, seriestype=:steps)

```

---

<div class="post-metadata">

**Author:** ![BeastyBlacksmith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/beastyblacksmith/32/4741_2.png) [@BeastyBlacksmith](https://discourse.julialang.org/u/BeastyBlacksmith)\
**Post date:** [May 7, 2022, 9:12pm UTC](https://discourse.julialang.org/t/how-do-i-make-an-histogram-with-no-vertical-edges-between-bars-in-plots-jl/80671/4 "2022-05-07T21:12:49Z")

</div>

You can use `stephist` for that
