# PyPlot warning?

**URL:** <https://discourse.julialang.org/t/pyplot-warning/21819>\
**Category:** Visualization\
**Created:** [March 13, 2019, 1:40pm UTC](https://discourse.julialang.org/t/pyplot-warning/21819 "2019-03-13T13:40:34Z")\
**Posts on this page:** 5\
**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:** [March 13, 2019, 1:40pm UTC](https://discourse.julialang.org/t/pyplot-warning/21819/1 "2019-03-13T13:40:34Z")

</div>

I’m not sure whether this is a problem related to my laptop set-up, or a change in Julia…  
Running `IJulia`, I want to use the `pyplot()` back-end to `Plots` – because it has better LaTeX support than `gr()`. I get the following warning:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/e/2/e2c88cf7d15ad9a1c4e7c602cac05f98dd590613.png)  
Is it the set-up on my laptop that is out of date, or something else? (I have recently done package `update`.)

---

<div class="post-metadata">

**Author:** ![Paul\_Soderlind](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paul_soderlind/32/1753_2.png) [@Paul\_Soderlind](https://discourse.julialang.org/u/Paul_Soderlind)\
**Post date:** [March 13, 2019, 1:51pm UTC](https://discourse.julialang.org/t/pyplot-warning/21819/2 "2019-03-13T13:51:53Z")

</div>

Please report this to Plots.jl. I think Plots.PyPlotBackend needs to be updated to reflect recent changes in PyPlot.jl

---

<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:** [March 13, 2019, 1:58pm UTC](https://discourse.julialang.org/t/pyplot-warning/21819/3 "2019-03-13T13:58:58Z")

</div>

OK… my “problem” is that the problem does not show up on my desktop; only on my laptop. Maybe I have different versions on the two machines, though.

---

<div class="post-metadata">

**Author:** ![isaacsas](https://avatars.discourse-cdn.com/v4/letter/i/f6c823/32.png) [@isaacsas](https://discourse.julialang.org/u/isaacsas)\
**Post date:** [March 13, 2019, 2:13pm UTC](https://discourse.julialang.org/t/pyplot-warning/21819/4 "2019-03-13T14:13:58Z")

</div>

You’ve probably not updated PyPlot on your desktop recently.

You can fix this till Plots.jl is updated by downgrading and pinning PyCall and PyPlot. The versions that work for me are:  
PyCall v1.18.5  
PyPlot v2.7.0

For completeness, in the package manager:

```julia
add PyCall@v1.18.5 PyPlot@v2.7.0
pin PyCall PyPlot

```

---

<div class="post-metadata">

**Author:** ![IljaK91](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/iljak91/32/44301_2.png) [@IljaK91](https://discourse.julialang.org/u/IljaK91)\
**Post date:** [March 13, 2019, 4:52pm UTC](https://discourse.julialang.org/t/pyplot-warning/21819/5 "2019-03-13T16:52:16Z")

</div>

I have the same problem and I am waiting for an update to fix this.
