# Juno... what happened with plot window and PyPlot support?

**URL:** <https://discourse.julialang.org/t/juno-what-happened-with-plot-window-and-pyplot-support/23507>\
**Category:** Tooling\
**Created:** [April 25, 2019, 12:54pm UTC](https://discourse.julialang.org/t/juno-what-happened-with-plot-window-and-pyplot-support/23507 "2019-04-25T12:54:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![BLI](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bli/32/37206_2.png) [@BLI](https://discourse.julialang.org/u/BLI)\
**Post date:** [April 25, 2019, 12:54pm UTC](https://discourse.julialang.org/t/juno-what-happened-with-plot-window-and-pyplot-support/23507/1 "2019-04-25T12:54:47Z")

</div>

I just discovered that Juno has changed:

- there is no longer a separate Plot window/frame; instead the plot window appears just as any other tabbed file  
 → every time I issue a plot command in my .jl file, Juno switches to view the tabbed plot window  
 → I then have to go back to the .jl file tab and continue to add labels and what not, and Juno jumps back to the tabbed plot window  
 → in the past, the plot was shown in a separate windows, and there was not this constant jumping back and forth between tabbed windows

Anyway, I thought I had done something wrong, and decided to update Juno (there were 3 updates queued up…). After the update process, Julia had disappeared from Juno… effectively reducing Juno to Atom. This happens every time I update Juno…

So I uninstalled Atom, and deleted every Atom directory I could find + re-installed Atom and added the uber-juno package, etc.

No help – the plot window still appears as a tabbed plot window – which makes Juno unusable – I cannot work in an environment where every time I issue a plot command, Juno changes the active window and forces me to manually click on the file tabe to get back to the file window and run more commands…

Another issue… it appears that Juno does not any longer support PyPlot, only GR??? At least, if I use PyPlot `pyplot()`, nothing is shown in the tabbed plot window, and I get an error message in the Juno console saying something like PyPlot is not supported.

Note, I don’t have anything against GR, but GR is incomplete (there are some things GR doesn’t support), and for my particular use, the result of GR plot is incomplete/wrong:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/2/4/243c88bb358e1babfb8fe8ca733846656f42cc88.jpeg)  
Observe:

- no labels on the upper, 3D plot
- the scaling of the upper plot is wrong

Anyway: have I messed up my set-up?

---

<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 25, 2019, 1:43pm UTC](https://discourse.julialang.org/t/juno-what-happened-with-plot-window-and-pyplot-support/23507/2 "2019-04-25T13:43:23Z")

</div>

> [@BLI](#):
>
> –\> in the past, the plot was shown in a separate windows, and there was not this constant jumping back and forth between tabbed windows

Juno always had a plot pane, but you can disable that in the julia-client settings. That’ll get you back to having all plots in separate windows, just like what you’d get from a normal REPL (you might need to restart your Julia session though).

> [@BLI](#):
>
> –\> every time I issue a plot command in my .jl file, Juno switches to view the tabbed plot window  
> –\> I then have to go back to the .jl file tab and continue to add labels and what not, and Juno jumps back to the tabbed plot window

That sounds wrong (and is indeed not the case for me – plotting leaves the focus where it was before).

> [@BLI](#):
>
> After the update process, Julia had disappeared from Juno… effectively reducing Juno to Atom. This happens every time I update Juno…

Yeah, that’s unfortunately a [known issue](http://docs.junolab.org/latest/man/faq/#Juno-doesn't-work-properly-after-some-Atom-packages-were-updated.-What-do-I-do?-1).

> [@BLI](#):
>
> Another issue… it appears that Juno does not any longer support PyPlot, only GR??? At least, if I use PyPlot `pyplot()` , nothing is shown in the tabbed plot window, and I get an error message in the Juno console saying something like PyPlot is not supported.

Hm, in theory that’ll work now, so it should be fixed in Plots.jl. `plotlyjs()` should work fine though.

---

<div class="post-metadata">

**Author:** ![BLI](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bli/32/37206_2.png) [@BLI](https://discourse.julialang.org/u/BLI)\
**Post date:** [April 25, 2019, 1:55pm UTC](https://discourse.julialang.org/t/juno-what-happened-with-plot-window-and-pyplot-support/23507/3 "2019-04-25T13:55:13Z")

</div>

The `pyplot` problem also appears in `IJulia`… so something has gone wrong … `Plots` doesn’t work well with `PyPlot` in my current installation, and this used to work.  
\*\*

> Juno always had a plot pane, but you can disable that in the julia-client settings. That’ll get you back to having all plots in separate windows, just like what you’d get from a normal REPL (you might need to restart your Julia session though).

I don’t understand what you write. Is “plot pane” what I call “a separate plot window”? I have not touched the “julia-client settings”, so I don’t understand how things have changed.

Also, restarting my Julia session does _nothing_. This problem also was preserved after I uninstalled Atom, removed all Atom files I could find, re-installed Atom, and added uber-juno.

Anyway, _where_ do I change this? I’m no expert on Atom/Juno, and your description is not clear to me.

> julia-client settings

Is that the same as (in Windows) clicking on the `julia` menu in Atom and choosing `settings`? If so, where do I go from there?

---

<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 25, 2019, 2:05pm UTC](https://discourse.julialang.org/t/juno-what-happened-with-plot-window-and-pyplot-support/23507/4 "2019-04-25T14:05:59Z")

</div>

> [@BLI](#):
>
> I don’t understand what you write. Is “plot pane” what I call “a separate plot window”? I have not touched the “julia-client settings”, so I don’t understand how things have changed.

No, the Plot Pane is what you called the plots tab:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/5/a/5a34e4d6a10164f81e5135a2d1620e8b5fe7dd5d.png)

> [@BLI](#):
>
> Is that the same as (in Windows) clicking on the `julia` menu in Atom and choosing `settings` ?

Yes. You’re looking for “Enable Plot Pane” option:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/7/1/71b0727770d642d894354bbbf2bdeabbeab7330f.png)

---

<div class="post-metadata">

**Author:** ![BLI](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bli/32/37206_2.png) [@BLI](https://discourse.julialang.org/u/BLI)\
**Post date:** [April 25, 2019, 3:12pm UTC](https://discourse.julialang.org/t/juno-what-happened-with-plot-window-and-pyplot-support/23507/5 "2019-04-25T15:12:09Z")

</div>

OK… the “Enable Plot Pane” _was_ enabled. I disabled it, and then I got some error messages about Firewall and Qt… eventually the figure was plotted in a separate window. I then enabled it again, and now it seems to work correctly:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/0/c/0c471ceacf2aa821be95409b6e7f890bc02127fd.png)  
What I tried to describe, is that the plot windows showed up in a tabbed file “window” next to the file name in the yellowed area.  
I have no idea as to how that happened…

---

<div class="post-metadata">

**Author:** ![BLI](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bli/32/37206_2.png) [@BLI](https://discourse.julialang.org/u/BLI)\
**Post date:** [April 25, 2019, 3:13pm UTC](https://discourse.julialang.org/t/juno-what-happened-with-plot-window-and-pyplot-support/23507/6 "2019-04-25T15:13:46Z")

</div>

If I now can figure out what is wrong with Plots and PyPlot… the GR backend doesn’t handle my plot as I want it to…
