How to import xplt, pylab?

Robert Kern robert.kern at gmail.com
Fri Nov 23 17:03:50 EST 2007


Caren Balea wrote:
> On 23 Nov, 01:28, "hda... at gmail.com" <hda... at gmail.com> wrote:
>>  scipy is pretty powerful, but has awful documentation and it's code
>> is somewhat disorganized/hacked. Maybe, you could try:
>>
>>  import scipy
>>  import scipy.sandbox
>>  import scipy.sandbox.xplt
> 
> Okay, thanks. I've tried but without success :(
> Here is what is displayed:
> 
>>>> import math
>>>> import scipy
>>>> import scipy.sandbox
>>>> import scipy.sandbox.xplt
> 
> Traceback (most recent call last):
>   File "<pyshell#3>", line 1, in <module>
>     import scipy.sandbox.xplt
> ImportError: No module named xplt

None of the packages in the sandbox are built by default since they are
experimental and may not even build at any given point in time.

In any case, xplt has been deprecated for a long time. It probably doesn't work.
I don't recommend using it unless if you want to take on the responsibility of
maintaining it.

-- 
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 Python-list mailing list