Re: [Matplotlib-users] imshow memory problem

2010-05-18 Thread Tomáš Faragó
. Thank you. Tomas. Pôvodná správa Od: Michael Droettboom md...@stsci.edu 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 canvas

Re: [Matplotlib-users] imshow memory problem

2010-05-18 Thread Tomáš Faragó
by --verbose-helpful could be useful. Thank you. Tomas. Pôvodná správa Od: Michael Droettboom md...@stsci.edu Predmet: Re: [Matplotlib-users] imshow memory problem Dátum: 17.5.2010 16:48:55 On Linux, I only see about

[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

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