[Numpy-discussion] Use of numpy, scipy and matplotlib (pylab) together?

Rudolph van der Merwe rudolphv at gmail.com
Tue Jan 17 04:25:02 CST 2006


What is the correct importing order if one wants to use the full
capabilities of numpy+scipy+matplotlib?

I have all three packages installed and all of them import correctly.
For Python code that makes use of all of these, should the import
order be:

from numpy import *
from scipy import *
from pylab import *

?

I assume a certain amount of re-importing will occur since both scipy
and matplotlib (pylab) uses numpy. How does one ensure that the
correct objects don't get overwritten?


--
Rudolph van der Merwe




More information about the Numpy-discussion mailing list