Python: Plot some data (matplotlib) without GIL

Posted by BandGap on Stack Overflow See other posts from Stack Overflow or by BandGap
Published on 2010-04-30T12:41:14Z Indexed on 2010/04/30 12:57 UTC
Read the original article Hit count: 304

Filed under:
|
|
|

Hello all,

my problem is the GIL of course. While I'm analysing data it would be nice to present some plots in between (so it's not too boring waiting for results)

But the GIL prevents this (and this is bringing me to the point of asking myself if Python was such a good idea in the first place).

I can only display the plot, wait till the user closes it and commence calculations after that. A waste of time obviously.

I already tried the subprocess and multiprocessing modules but can't seem to get them to work.

Any thoughts on this one? Thanks

© Stack Overflow or respective owner

Related posts about python

Related posts about gil