Skip to content
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

PyPlot Slows to halt : conflict with control flow ? #503

Closed
houchmandzadeh opened this issue Oct 22, 2020 · 2 comments
Closed

PyPlot Slows to halt : conflict with control flow ? #503

houchmandzadeh opened this issue Oct 22, 2020 · 2 comments

Comments

@houchmandzadeh
Copy link

After a system crash, I installed Ubuntu 20.04.1 and installed julia 1.4.1 from Ubuntu repository. PyPlot has now a strange behavior.
Plotting works perfectly and repeatedly. But if I try a loop, then pyplot stops nearly completely. Even if the plotting is not inside the loop, for example

clf()
for i=1:50
print(2*i,"\n")
end

takes suddenly more than a minute the first time, and then nearly halts the second time. Even if the second time, no loop is involved and the instruction is simply
plot(x,y)

The issue is not related to jupyter notebook and is reproduced in REPL.

@houchmandzadeh
Copy link
Author

Apparently, the problem was the backend. Installing qt5 and setting
pygui(:qt5)

Solved the problem.

@stevengj
Copy link
Member

stevengj commented Nov 2, 2020

What backend was it using before?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants