# PyPlot cannot be used in Juno, stopped

**URL:** <https://discourse.julialang.org/t/pyplot-cannot-be-used-in-juno-stopped/18582>\
**Category:** General Usage\
**Tags:** question\
**Created:** [December 12, 2018, 3:06am UTC](https://discourse.julialang.org/t/pyplot-cannot-be-used-in-juno-stopped/18582 "2018-12-12T03:06:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhangliye](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhangliye/32/3208_2.png) [@zhangliye](https://discourse.julialang.org/u/zhangliye)\
**Post date:** [December 12, 2018, 3:06am UTC](https://discourse.julialang.org/t/pyplot-cannot-be-used-in-juno-stopped/18582/1 "2018-12-12T03:06:18Z")

</div>

When I tried to import PyPlot or PyCall in Juno, it stopped and give no response for a long time.  
I restarted Atom and run “using PyPlot” in the Juno console window, and got the similar problem. The other packages works fine. I also tried  
[visual studio code-julia](https://marketplace.visualstudio.com/items?itemName=julialang.language-julia) and [PyCharm-Julia](https://plugins.jetbrains.com/plugin/10413-julia), there is no similar problem. Juno is the first GUI I used for Julia language and is very convenient. But there are problems from time to time and make me feel that it is not so stable.

The system information is as follows:

 ![Capture3](https://global.discourse-cdn.com/julialang/original/3X/8/1/815c0c7669e14c0ef1661b5331bd4685bb389b88.png)  
 ![Capture4](https://global.discourse-cdn.com/julialang/original/3X/9/d/9dec1680b7d1952cdcdd3c5810907d92bb0490bf.png)

 ![Capture2](https://global.discourse-cdn.com/julialang/original/3X/c/d/cdcecf8e37b434c41ee5a53611dc7e4069a744ba.png)

---

<div class="post-metadata">

**Author:** ![zhangliye](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhangliye/32/3208_2.png) [@zhangliye](https://discourse.julialang.org/u/zhangliye)\
**Post date:** [December 12, 2018, 4:00am UTC](https://discourse.julialang.org/t/pyplot-cannot-be-used-in-juno-stopped/18582/2 "2018-12-12T04:00:09Z")

</div>

After reinstalling the Atom , try-and-error many times, I found the following solution.  
(a) change Julia-client setting  
Console options Style from “Legacy” to “REPL-based”

(2) Run Julia plotting code  
and show the figure on the plot window using the following line

```julia
gcf()

```
