Gary Ruben wrote:
> I just picked up a problem posted over on the numpy list. I noticed that
> from pylab import * is importing the oldnumeric-wrapper versions of
> zeros(), ones() and empty(), and presumably other things too, into the
> interactive namespace. Shouldn't it be picking up the versions from
> numpy's main namespace for interactive use?

My understanding is that pylab (and Numerix) is maintaining backward 
compatibility with itself, so the oldnumeric  form is the right one.

Another reason NOT to EVER use "import *"

Before too long, hopefully we'll only have to deal with numpy.

-Chris

-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to