-
Notifications
You must be signed in to change notification settings - Fork 36
Juno.@enter exits with error when running PyPlot.plot() #219
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
Comments
I'm seeing the same thing with a call to OpenAIGym |
Best workaround would be to temporarily uncomment these lines so you know what's being attempted. Then |
It looks like |
"Fixed" upstream in JuliaPy/PyCall.jl#684. |
I have a very simple script as shown below:
ENV["MPLBACKEND"] = "qt4agg";
using PyPlot
function main()
x = LinRange(0, 3, 10);
y = sin.(x);
plot(x, y);
end
main();
This script runs fine in Juno IDE. Note I have to set up environmental variable MPLBACKEND to "qt4agg" for my Anaconda Python 2.7 matplotlib to work with Julia properly.
However, if I start debugging it by executing
Juno.@Enter main()
I can step until I reach "plot(x, y)", upon executing which the plot shows up (I'm not using Juno plot plane so it's a standalone window), then the debugger exits with the following error message:
The text was updated successfully, but these errors were encountered: