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. > I also fixed some of the lesser used examples. I'm not going to try to > fix examples/units. examples/animation/anim.py doesn't update on my > wxagg backend (wx 2.8.3). Thanks for the fixes. This mode of animation works on tk, but not really for the GUI backends, and is discouraged on the cookbook page. We probably should update the example to use Tkagg and discourage this usage on other GUIs. JDH ------------------------------------------------------------------------- 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