# Incorrect output in unicodeplots()

**URL:** <https://discourse.julialang.org/t/incorrect-output-in-unicodeplots/96907>\
**Category:** General Usage\
**Tags:** unicodeplots\
**Created:** [March 31, 2023, 6:20pm UTC](https://discourse.julialang.org/t/incorrect-output-in-unicodeplots/96907 "2023-03-31T18:20:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JosieG](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/josieg/32/36221_2.png) [@JosieG](https://discourse.julialang.org/u/JosieG)\
**Post date:** [March 31, 2023, 6:20pm UTC](https://discourse.julialang.org/t/incorrect-output-in-unicodeplots/96907/1 "2023-03-31T18:20:05Z")

</div>

My code is

```julia
using Plots
unicodeplots()
plt = Plots.histogram(randn(1000) .* 0.1, nbins = 15, closed = :left)

```

And I got  
 ![Screen Shot 2023-03-31 at 2.18.51 PM](https://global.discourse-cdn.com/julialang/original/3X/4/3/43440fca2f46339298a8daed7f2e8b8a7dd5b574.png)  
But I expect the output should look like  
 ![Screen Shot 2023-03-31 at 2.19.33 PM](https://global.discourse-cdn.com/julialang/original/3X/4/5/45d66a059a6feb776c2238b40fcb6b9ac53bd419.png)

Is there anyway to get the second output plot?

---

<div class="post-metadata">

**Author:** ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Post date:** [March 31, 2023, 7:19pm UTC](https://discourse.julialang.org/t/incorrect-output-in-unicodeplots/96907/2 "2023-03-31T19:19:55Z")

</div>

In a Jupyter notebook:

 ![Screenshot 2023-03-31 at 20.14.08](https://global.discourse-cdn.com/julialang/original/3X/a/e/ae09844223c9a810c29af5db7d03538be87e6e35.png)

In a Julia REPL:

 ![Screenshot 2023-03-31 at 20.16.57](https://global.discourse-cdn.com/julialang/original/3X/1/b/1bf0fdef01fafb6a5e1a2d8c00d64f9ca709ab5f.png)

In VS-Code:

 ![Screenshot 2023-03-31 at 20.19.20](https://global.discourse-cdn.com/julialang/original/3X/5/2/52613a879244847e506bc879e509569a00b7aba1.png)
