[SciPy-User] ipython, numpy, matplotlib, scipy

Robert Kern robert.kern at gmail.com
Fri Dec 2 15:20:23 EST 2011


On Fri, Dec 2, 2011 at 19:41, Wolfgang Mader
<Wolfgang.Mader at fdm.uni-freiburg.de> wrote:
> Hello list,
>
> what is the best way to use ipython, numpy, matplotlib, and scipy together?
>
> I start ipython using
>
> ipython --pylab
>
> in order to get an interactive matplotlib and pull numpy and matplotlib
> functions to the workspace. But some functions like fft, ifft, ... are
> reimplemented in scipy. I have read, that it is proposed to use
>
> from scipy import *
>
> for interactive shells. How does this interefere with --pylab?

It does nothing that you want. "from scipy import *" does not import
anything from its subpackages. Just pretend that it doesn't exist. It
exists only for backwards compatibility.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco



More information about the SciPy-User mailing list