Re: [Matplotlib-users] Fail to allocate bitmap, Unable to free colormap, palette is still selected.

2008-02-19 Thread Michael Droettboom
Chris Kennedy wrote: hi Mike, I was able to get it to work using: reload(matplotlib) matplotlib.use('Agg') That suggests that the bug is somehow related to GUI code. As John pointed out, we'll want to very exactly which GUI backend is being used. I'll have to beat on it some

Re: [Matplotlib-users] Fail to allocate bitmap, Unable to free colormap, palette is still selected.

2008-02-15 Thread Chris Kennedy
hi Mike, It only prints what is between the , - . I tend to think it is related to Tkinter. I'm using the default GTKAgg. I have generated over 1500 images using the simple example with no issue. When it is in the larger app, it fails on the 2nd or 3rd request. I'm trying

[Matplotlib-users] Fail to allocate bitmap, Unable to free colormap, palette is still selected.

2008-02-15 Thread Chris Kennedy
hi, I get this error when I'm generating numerous .png files using matplotlib 0.9.2 in py2.4 on WinXP - Fail to allocate bitmap This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more

Re: [Matplotlib-users] Fail to allocate bitmap, Unable to free colormap, palette is still selected.

2008-02-15 Thread Chris Kennedy
hi Mike, I was able to get it to work using: reload(matplotlib) matplotlib.use('Agg') I'll have to beat on it some more to see if this is robust. I saw the error message in this code: http://search.cpan.org/src/NI-S/Tk-804.027/pTk/mTk/win/tkWinDraw.c if(!bitmap) {

Re: [Matplotlib-users] Fail to allocate bitmap, Unable to free colormap, palette is still selected.

2008-02-15 Thread John Hunter
On Fri, Feb 15, 2008 at 4:07 PM, Chris Kennedy [EMAIL PROTECTED] wrote: hi Mike, It only prints what is between the , - . I tend to think it is related to Tkinter. I'm using the default GTKAgg. I have generated over 1500 images using the simple example with no issue. When it