-
-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] pyplot backend on macOS does not work after upgrading to Julia v1.6.0 #3416
Comments
This should belong to PyPlot repo I believe, Plots just assumes you got it working. |
Feel free to reopen if you think otherwise |
@isentropic ; This is definitely the pyplot backend of Plots.jl issue. Not the problem of the PyPlot.jl. |
I do not have a mac system so I can't comment on this |
It is very hard to say why Plots is failing, perhaps the PyPlot version that Plots uses is different? |
Perhaps you could tweak/modify Project.toml and see if pinning some of the PyPlot version might help you? |
(Note that you might also try The |
I'm having exactly the same issue as @BoundaryValueProblems (on the same architecture). With some experimentation, I've found that the key issue is not the Julia version but the changes in GR from v0.55.0 to v0.57.0 (a switch to providing the package via BinaryBuilder). By downgrading GR to v0.55.0, no warnings arise when It's too bad the backends interfere like this. |
With Julia 1.7.x, I don't have any problems with the pyplot backend except that on my iMac, there are two Qt5Core libraries are installed in two different folders, which generates the following warning:
Although I do not want to see this kind of warning messages, the pyplot backend is currently working. So, I'll close this thread. |
Details
After upgrading Julia from v1.5.4 to v1.6.0, the pyplot backend on macOS does not work. On windows machines, I don't have any problem. First of all, I wiped out ~/.julia/conda; and then rebuilt it by
ENV["PYTHON"]=""; Pkg.build("PyCall")
. Then, at least, the package PyPlot.jl does work (using PyPlot
installed all the relevant files, and the examples on the PyPlot.jl home page did work). However, when I ranusing Plots; pyplot()
, it generated the following error:I found the following post https://discourse.julialang.org/t/intel-mkl-fatal-error-with-pyplot/36737/9 , which suggests
So, after I tried this, and ran
using PyPlot
, which installed matplotlib and some associated files again, and the PyPlot examples in the PyPlot.jl home page worked again. Finally, I ranusing Plots; pyplot()
. Then, I got the following message (looks like a warning message):And this was done on a simple Terminal session. So, after this I used Atom and VSCode to display simple things like
plot(randn(100)
, and finally it worked (with the above warning message)!So, it would be great if someone can fix this warning problem and explain to the users why
pyplot()
first had the MKL error while the genuinePyPlot
did not have this error.Backends
This bug occurs on ( insert
x
below )Versions
Plots.jl version: v1.11.2
Backend version (
]st -m
): PyPlot v2.9.0; PyCall v1.92.2; Conda v1.5.1Output of
versioninfo()
:Julia Version 1.6.0
Commit f9720dc2eb (2021-03-24 12:55 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin19.6.0)
CPU: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
Environment:
JULIA_EDITOR = code
JULIA_NUM_THREADS =
The text was updated successfully, but these errors were encountered: