On Saturday, April 25, 2015 at 11:21:24 AM UTC-4, Ferran Mazzanti wrote:

> I'm new to Julia (but not to Python) and can't find he right way to use 
> PyPlot as I do in Python. In short, I have a program that should display a 
> plot, wait for the user to close the plot, then show a second plot and g on 
> running. But it is not doing that: it just merges the two plots in one and 
> goes on. The only thing I've managed to do so far is to show the first 
>  plot, wait for some time, then show the second plot, and go on:
>

That's because PyPlot defaults to interactive mode.   Just run ioff() to 
turn off interactive mode, and the show() command will be blocking.

Reply via email to