Robert Cimrman wrote:
> Ryan May wrote:
>> On Wed, May 6, 2009 at 8:53 AM, Robert Cimrman <cimrm...@ntc.zcu.cz> 
>> wrote:
>>
>>> Ryan May wrote:

In case you are not receiving the automatic svn commit messages: 
yesterday I took the liberty of renaming log.py to multiprocess.py, 
because as far as I could see the former gave no clue as to the point of 
the example.  Feel free to change it back, or change it to something 
else, if you think I am mistaken or confused about this.

Eric

>>>
>>>> On Wed, May 6, 2009 at 7:57 AM, Robert Cimrman <cimrm...@ntc.zcu.cz>
>>>> wrote:
>>>>
>>>>> Just for the record: Ryan May's example in this thread, that uses 
>>>>> pipes,
>>>>> inspired me to try pipes as well, instead of queues
>>>>> (multiprocessing.Pipe instead of Queue) and the "hanging problem", 
>>>>> i.e.
>>>>> the problem that Ctrl-C interrupted the program, but it had to be 
>>>>> killed
>>>>> to stop, disappeared. I can fix the script that I sent in message [1]
>>>>> and provide it, if there is interest. (Currently I have fixed only the
>>>>> version that is within sfepy).
>>>>>
>>>>
>>>> I know I'd be interested.  With your permission, it might make a nice
>>>> example as well.
>>>>
>>> Permission granted :) I have sent the script in response to William.
>>>
>>>
>> Done.  I like the fact that with your example, everything is 
>> self-contained
>> in a single script.
> 
> Exactly, the details of starting another python process are hidden, the 
> multiprocessing module is really nice.
> 
> You might want to add
> 
> import matplotlib
> matplotlib.use('GtkAgg')
> 
> to the script, and remove "from Queue import Empty".
> 
> FYI: I am sending also a more complex example - a Log class used in 
> sfepy, which supports multiple subplots, labels, logarithmic plots etc. 
> The file contains some other support classes too, so that it works 
> standalone. It is not very polished, but it serves its purpose.
> 
> r.
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image 
> processing features enabled. http://p.sf.net/sfu/kodak-com
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to