I'm using matplotlib with Python 2.4.4 to make scatter plots of a
reasonably large dataset. Specifically about 200 plots with around
3224 points each. Unfortunately after about 30-40 plots, python
invariably crashes with the error:

Fatal Python error: deallocating None
Aborted

below is the code which is causing the crash, I've tried it with
various backends with the same results.

Any ideas how to avoid this? Many thanks in advance,

John
    for ani in range(an1, an2):
        if ba1 <= ani: ba1 = ani + 1
        for bli in range(ba1, ba2):
            if v.blank[ani, bli]:
                continue
            for chi in range(v.nch):
                plot(v.iat, v.amp[:,ani,bli,0,chi,0], ',')
                plot(v.iat, v.amp[:,ani,bli,0,chi,1], ',')
                plot(v.iat, v.amp[:,ani,bli,1,chi,0], ',')
                plot(v.iat, v.amp[:,ani,bli,1,chi,1], ',')
            title('Baseline ' + str(ani) + ',' + str(bli))
            savefig('TimeSeries' + str(ani) + '-' + str(bli))
            close()
            print 'printing baseline ' + str(ani) + '/' + str(bli)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to