John Hunter wrote: > On Thu, Jul 24, 2008 at 4:20 PM, Paul Kienzle <[EMAIL PROTECTED]> wrote: > >> Testing hawaii on my machine, I saw the following error: >> >> Traceback (most recent call last): >> File "memleak_hawaii3.py", line 13, in <module> >> rand = np.mlab.rand >> AttributeError: 'module' object has no attribute 'mlab' >> >> I replaced mlab with random and it now works. > > Sorry, I had fixed that locally and forgotten to commit. Committed now. > >> Running, I get a leak of about 5.6 KiB per loop. >> I'm using matplotlib svn, macos 10.4, numpy 1.1.0 > > I'm not seeing this w/ PDF or Agg in linux... what backend are you > using (the file had set use('PDF') so I assume you are using that.
Ubuntu hardy, numpy svn, mpl svn, memleak_hawaii3.py with default pdf output: 399 12710 400 12710 Average memory consumed per loop: 0.8706k bytes Eric ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel