|
From: Christopher B. <Chr...@no...> - 2006-04-21 16:58:30
|
John Pye wrote:
> I implemented the sniffing for num* libraries in our own code, which
> maybe is of interest to other users:
I did something similar for my wxPython FloatCanvas, but I've been
thinking that it should do something different:
Rather than a pre-defined hierarchy of preference for package, perhaps
it could start by check if any of the num* packages are loaded already.
That way a user could so:
import Numeric
import matplotlib
and MPL would use the Numeric that was already imported, rather than
another.
Just a thought.
-Chris
PS: I'm really looking forward to when we all just use numpy!
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...
|