Re: [Matplotlib-users] imshow memory problem

2010-05-18 Thread Tomáš Faragó
š Faragó wrote: > > Thanks for replying Mike, > > I tried it on Linux as well but I ran into the same problem. Perhaps > > it has something to do with other needed libraries (GTK+, etc.). Can > > you please tell me your libraries versions? I mean GTK+, pygtk, etc. > > Al

Re: [Matplotlib-users] imshow memory problem

2010-05-18 Thread Tomáš Faragó
. Thank you. Tomas. > Pôvodná správa > Od: Michael Droettboom > Predmet: Re: [Matplotlib-users] imshow memory problem > Dátum: 17.5.2010 16:48:55 > > On Linux, I only see about an extra 24kb being used when the canva

Re: [Matplotlib-users] imshow memory problem

2010-05-17 Thread Michael Droettboom
On Linux, I only see about an extra 24kb being used when the canvas is added to a window vs. not adding it (i.e. commenting out the window.add(canvas) line). In general, here's the memory usage to be expected from imshow (if it's a floating-point, not-rgb(a) array as you have here): The origin

[Matplotlib-users] imshow memory problem

2010-05-17 Thread Tomáš Faragó
Hello, I am writing a GUI using GTK+ library. I have a question about axes class imshow method memory consumtion. If I pass the imshow an array, the resulting memory consuption is approximatelly 46 times greater than the array size. If I do not add the canvas to a window (in a code below), the m