# PyPlot doesn't work on Atom+Juno

**URL:** <https://discourse.julialang.org/t/pyplot-doesnt-work-on-atom-juno/23229>\
**Category:** New to Julia\
**Tags:** juno, plotting, pyplot\
**Created:** [April 17, 2019, 1:48am UTC](https://discourse.julialang.org/t/pyplot-doesnt-work-on-atom-juno/23229 "2019-04-17T01:48:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xion\_Lee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xion_lee/32/8007_2.png) [@Xion\_Lee](https://discourse.julialang.org/u/Xion_Lee)\
**Post date:** [April 17, 2019, 1:48am UTC](https://discourse.julialang.org/t/pyplot-doesnt-work-on-atom-juno/23229/1 "2019-04-17T01:48:00Z")

</div>

Hi…I’m new to julia and Atom. My system is Mac OS Mojave and the version of my packages are:

 ![48](https://global.discourse-cdn.com/julialang/original/3X/f/d/fd97c3250f0937ee9c1da450048899b7805501c9.png)  
The problem is that when I use PyPlot in terminal it works perfectly,  
 ![14](https://global.discourse-cdn.com/julialang/original/3X/b/b/bbf0a6340ff73ad2e59e6ba452115e44473531f7.png)  
but doesn’t show any plot when using PyPlot in Atom(neither plot in plot pane or plot window shows up).  
 ![38](https://global.discourse-cdn.com/julialang/original/3X/9/5/9516eecac7fdc79c70252026a46b87fd8896ee90.png)  
I’m so confused right now, how could this happen and what should I do to solve it?

---

<div class="post-metadata">

**Author:** ![gabrielgellner](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gabrielgellner/32/75_2.png) [@gabrielgellner](https://discourse.julialang.org/u/gabrielgellner)\
**Post date:** [April 17, 2019, 1:59am UTC](https://discourse.julialang.org/t/pyplot-doesnt-work-on-atom-juno/23229/2 "2019-04-17T01:59:31Z")

</div>

You need to uncheck the plot pane option in the Juno settings.

---

<div class="post-metadata">

**Author:** ![marius311](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marius311/32/3953_2.png) [@marius311](https://discourse.julialang.org/u/marius311)\
**Post date:** [April 17, 2019, 4:56am UTC](https://discourse.julialang.org/t/pyplot-doesnt-work-on-atom-juno/23229/3 "2019-04-17T04:56:09Z")

</div>

You can also do `pygui(true)`. If you then want a certain plot in the plot pane you can run `gcf()`.

---

<div class="post-metadata">

**Author:** ![Xion\_Lee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xion_lee/32/8007_2.png) [@Xion\_Lee](https://discourse.julialang.org/u/Xion_Lee)\
**Post date:** [April 17, 2019, 5:40am UTC](https://discourse.julialang.org/t/pyplot-doesnt-work-on-atom-juno/23229/4 "2019-04-17T05:40:19Z")

</div>

Thank you so much! It worked.

---

<div class="post-metadata">

**Author:** ![Xion\_Lee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xion_lee/32/8007_2.png) [@Xion\_Lee](https://discourse.julialang.org/u/Xion_Lee)\
**Post date:** [April 17, 2019, 5:40am UTC](https://discourse.julialang.org/t/pyplot-doesnt-work-on-atom-juno/23229/5 "2019-04-17T05:40:23Z")

</div>

Do you mean this option?  
 ![19](https://global.discourse-cdn.com/julialang/original/3X/7/2/727acd75564dfdf35721e07f1f6be1863a591b92.png)  
I found that it came out the same result no matter the plot pane is enabled or not😢.

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [April 17, 2019, 7:47am UTC](https://discourse.julialang.org/t/pyplot-doesnt-work-on-atom-juno/23229/6 "2019-04-17T07:47:09Z")

</div>

You also need to restart Julia after changing that setting, I think.

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [April 17, 2019, 10:43am UTC](https://discourse.julialang.org/t/pyplot-doesnt-work-on-atom-juno/23229/7 "2019-04-17T10:43:29Z")

</div>

Thank you for the `gcf()` hint. I thought PyPlot plots can only be displayed in external windows, but not in the plot pane.

Is there a way to make plots show up in the plot pane automatically? (instead of typing `plot(1:3)` followed by `gcf()`)

---

<div class="post-metadata">

**Author:** ![sl\_Su](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sl_su/32/35750_2.png) [@sl\_Su](https://discourse.julialang.org/u/sl_Su)\
**Post date:** [April 27, 2022, 4:14am UTC](https://discourse.julialang.org/t/pyplot-doesnt-work-on-atom-juno/23229/8 "2022-04-27T04:14:01Z")

</div>

It really works, thank you
