On Thu, Jul 10, 2008 at 6:42 AM, Angela Rivera Campos <[EMAIL PROTECTED]> wrote: > Hi, > > I'm quite a newbie on matplotlib. > > I'm trying to get some data from a file. I've got a function that reads > the data from the file and stores it in a tuple as a set of floats. When > I use this without importing pylab it just go well but when I do it > after importing this module there's a rounding and I don't get the > proper data:
My guess is there is something triggered by a pylab numpy/numerix/Numeric import, but w/o kjnowing more about your matplotlib and other software versions is it difficult to guess. Could you put these lines into a test script and run them with > python myscript.py --verbose-debug and paste the output. Florian Koelling recently reported a problem that sounded very similar under the heading "mad interference between matplotlib and openbabel". Apparently some pylab import is doing something funky with some third party libs. Could you test just the numpy imports to see if that makes a difference. Ie, instead of importing pylab before your module code, do the following: import numpy import numpy.fft importnumpy.random import numpy.linalg and let us know if you see similar problems. JDH JDH ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users