morever
computer gets stuck for code
from multiprocessing import Process
from matplotlib.pyplot import plot, show
def plot_graph(*args):
for data in args:
plot(data)
show()
p = Process(target=plot_graph, args=([1, 2, 3],))
p.start()
print 'yay'
print 'computation continues...'
print 'that rocks.'
print 'Now lets wait for the graph be closed to continue...:'
p.join()
from
http://stackoverflow.com/questions/458209/is-there-a-way-to-detach-matplotlib-plots-so-that-the-computation-can-continue
since this code multipliers number of pyhon.exe running till memory is full in
my case 6 GB
is it problem for Vista only?
Sandy
> Date: Tue, 18 May 2010 18:14:11 -0400
> From: alan.is...@gmail.com
> To: matplotlib-users@lists.sourceforge.net
> CC: c...@live.com
> Subject: Re: [Gnuplot-py-users] is it possible to continue to Debug when
> figure is created??
>
> > http://matplotlib.sourceforge.net/faq/howto_faq.html#use-show
>
>
> Here is some more detail, that I actually think
> should be added to the above link.
> http://stackoverflow.com/questions/458209/is-there-a-way-to-detach-matplotlib-plots-so-that-the-computation-can-continue
>
> hth,
> Alan Isaac
>
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users