John Hunter escribió: > On Tue, Jul 15, 2008 at 2:37 AM, Angela Rivera Campos <[EMAIL PROTECTED]> > wrote: > >> matplotlib version 0.90.1 >> numerix numpy 1.0.3 > > your numpy and matplotlib versions are pretty old. Any chance you can > upgrade to numpy 1.1 and matplotlib 98.1? > > JDH
OK. I've been upgrading my versions and the output is still the same, no proper floating managing. I'm using openSUSE 10.2 and I've installed the numpy and scipy rmps from the repositories suggested on the webpage and compiled matplotlib from source. This is the output for python verbose mode: ----------------------- $HOME=/home/myhome CONFIGDIR=/home/myhome/.matplotlib matplotlib data path /usr/local/lib/python2.5/site-packages/matplotlib/mpl-data loaded rc file /home/myhome/.matplotlib/matplotlibrc matplotlib version 0.98.1 verbose.level debug interactive is False units is True platform is linux2 loaded modules: ['pylab', '_bisect', 'numpy.ma.types', 'numpy.core.info', 'numpy.testing.shlex', 'matplotlib.errno', 'random', 'heapq', 'numpy.core.defchararray', 'distutils.re', 'numpy.lib.bz2', 'numpy.lib.inspect', 'xml.sax.os', 'numpy.lib.getlimits', 'ctypes._endian', 'encodings.encodings', 'pkgutil', 'numpy.core.numerictypes', 'numpy.testing.sys', 'numpy.random.mtrand', 'xml', 'numpy.fft.types', 'numpy.ma.operator', 'numpy.ma.cPickle', 'struct', 'numpy.random.info', 'tempfile', 'mmap', 'pprint', 'numpy.linalg', 'numpy.testing.operator', 'matplotlib', 'imp', 'compiler.sys', 'collections', 'numpy.core.umath', 'numpy.lib.pkgutil', 'unittest', 'md5', 'matplotlib.cbook', 'compiler.ast', 'numpy.ma.sys', 'zipimport', 'string', 'numpy.testing.os', 'matplotlib.locale', 'numpy.lib.arraysetops', 'numpy.testing.unittest', 'numpy.lib.math', 'encodings.utf_8', 'matplotlib.__future__', 'pytz.tzinfo', 'numpy.ctypeslib', 'numpy.testing.re', 'itertools', 'numpy.version', 'numpy.lib.re', 'compiler.misc', 'ctypes.os', 'compiler.token', 'numpy.core.os', 'compiler', 'numpy.lib.type_check', 'httplib', 'xml.sax.sys', 'matplotlib.os', 'xml._xmlplus', 'bisect', 'signal', 'compiler.consts', 'numpy.lib._datasource', 'pydoc', 'numpy.ma.extras', 'token', 'numpy.fft.fftpack_lite', 'encodings.types', 'shlex', 'numpy.core.multiarray', 'matplotlib.pytz', 'numpy.__builtin__', 'dis', 'xml.sax.saxexts', 'cStringIO', 'zlib', 'xml.sax.saxutils', 'numpy.numpy', 'matplotlib.StringIO', 'locale', 'numpy.add_newdocs', 'distutils.sysconfig', 'xml.sax.urlparse', 'numpy.random.numpy', 'compiler.transformer', 'xml.sax.saxlib', 'compiler.struct', 'compiler.parser', 'numpy.lib.sys', 'encodings', 'compiler.symbol', 'numpy.ma.itertools', 'StringIO', 'dateutil', 'numpy.lib.io', '__future__', 'matplotlib.colors', 'numpy.imp', 'matplotlib.warnings', 'rfc822', 'matplotlib.string', 'numpy.lib.numpy', 'matplotlib.sys', 're', 'numpy.lib._compiled_base', 'matplotlib.numpy', 'numpy.core.mmap', 'new', 'numpy.lib.struct', 'glob', 'math', 'numpy.fft.helper', 'fcntl', 'numpy.ma.warnings', 'compiler.imp', 'matplotlib.pyparsing', 'distutils', 'UserDict', 'inspect', 'distutils.os', '_ctypes', 'urllib2', 'exceptions', 'numpy.lib.info', 'numpy.testing', 'numpy.testing.glob', 'numpy.lib.warnings', 'ctypes.struct', 'numpy.core.sys', 'numpy.core._sort', 'numpy.os', 'compiler.visitor', 'numpy.testing.difflib', 'matplotlib.sre_constants', 'numpy.lib.shutil', 'thread', 'numpy.lib.ufunclike', 'numpy.core.memmap', 'traceback', 'xml.sax.types', 'numpy.testing.warnings', 'xml.sax.sax2exts', 'weakref', 'numpy.core._internal', 'numpy.fft.fftpack', 'opcode', 'numpy.testing.imp', 'numpy.linalg.lapack_lite', 'ctypes', 'distutils.sys', 'os', 'marshal', 'base64', 'numpy.core.string', 'matplotlib.copy', 'compiler.cStringIO', 'matplotlib.traceback', '_sre', 'numpy.lib.gzip', 'codecs', 'numpy.random', 'numpy.linalg.numpy', '__builtin__', 'numpy.lib.twodim_base', 'numpy.ma.core', 'matplotlib.re', 'numpy.core.cPickle', 'operator', 'numpy.testing.parametric', 'sre_constants', 'distutils.string', 'ctypes._ctypes', '_heapq', 'ctypes.sys', 'matplotlib.datetime', 'posixpath', 'numpy.lib.financial', 'numpy.testing.types', 'errno', '_socket', 'binascii', 'numpy.lib.compiler', 'numpy.core.arrayprint', 'datetime', 'compiler.os', 'matplotlib.md5', 'types', 'pytz.sys', 'tokenize', 'xml.sax.handler', 'xml.sax.xmlreader', 'numpy.core.numpy', 'numpy', 'numpy.lib.urlparse', 'matplotlib.dateutil', 'numpy.core.defmatrix', 'compiler.compiler', 'cPickle', 'matplotlib.xml', 'xml.sax.string', '_codecs', '_locale', 'numpy.__config__', 'numpy.lib.types', 'pytz', 'compiler.syntax', 'compiler.copy_reg', 'numpy.ma.numpy', 'copy', 'numpy.core.re', '_struct', '_types', 'numpy.core.fromnumeric', 'hashlib', 'compiler.future', 'numpy.core.copy_reg', 'numpy.lib.scimath', 'numpy.fft', 'numpy.lib', 'compiler.dis', 'posix', 'encodings.aliases', 'numpy.lib.function_base', 'fnmatch', 'sre_parse', 'pytz.bisect', 'matplotlib.tempfile', 'numpy.lib.tempfile', 'numpy.core.ctypes', 'xml.sys', 'mimetools', 'distutils.distutils', '_xmlplus', 'copy_reg', 'sre_compile', 'xml.sax', 'numpy.core.scalarmath', '_hashlib', '_random', 'parser', 'site', 'numpy.lib.polynomial', 'urllib', 'numpy._import_tools', 'numpy.glob', 'xml.sax.urllib2', 'numpy.lib.time', '__main__', 'numpy.fft.info', 'numpy.core.records', 'shutil', 'numpy.lib.cPickle', 'numpy.sys', 'matplotlib.weakref', '_weakref', 'numpy.lib.pydoc', 'numpy.lib.urllib2', 'numpy.testing.traceback', 'strop', 'compiler.pycodegen', 'numpy.core.numeric', 'numpy.linalg.info', 'encodings.codecs', 'pytz.datetime', 'numpy.ctypes', 'matplotlib.matplotlib', 'numpy.core', 'numpy.testing.info', 'matplotlib.rcsetup', 'matplotlib.time', 'pytz.sets', '_ssl', 'xml.sax._exceptions', 'xml.sax.codecs', 'stat', 'compiler.new', 'compiler.pyassem', 'numpy.lib.index_tricks', 'numpy.testing.utils', 'warnings', 'numpy.lib.utils', 'symbol', 'numpy.lib.shape_base', 'numpy.core.types', 'numpy.fft.numpy', 'repr', 'sys', 'numpy.core.warnings', 'socket', 'compiler.types', 'numpy.core.__builtin__', 'ctypes.ctypes', 'numpy.lib.format', 'numpy.lib.os', 'numpy.ma', 'matplotlib.fontconfig_pattern', 'os.path', 'bz2', 'numpy.lib.pprint', 'compiler.symbols', 'sets', 'matplotlib.distutils', 'numpy.core.cStringIO', 'numpy.testing.numpytest', 'difflib', 'distutils.errors', 'urlparse', 'linecache', 'matplotlib.shutil', 'numpy.lib.cStringIO', 'time', 'gzip', 'numpy.lib.machar', 'compiler.marshal', 'numpy.linalg.linalg', 'numpy.testing.numpy'] Using fontManager instance from /home/myhome/.matplotlib/fontManager.cache numerix numpy 1.1.0 backend GTKAgg version 2.10.3 PROTON DOSE SPECTRUM (0.0, 0.0, 0.0, 616.0, 24.0, 616.0) <type 'tuple'> <type 'float'> (0.0, 0.0, 0.0, 28869.0, 169.0, 28869.0) <type 'tuple'> <type 'float'> (0.0, 0.0, 0.0, 13900.0, 117.0, 13900.0) <type 'tuple'> <type 'float'> (0.0, 0.0, 0.0, 6896.0, 83.0, 6896.0) <type 'tuple'> <type 'float'> (0.0, 0.0, 0.0, 3749.0, 61.0, 3749.0) <type 'tuple'> <type 'float'> ----------------------- Now I'm using a work around managing the data in a different module, so the pylab imports are done after reading the data. But, still, this issue is puzzling me. Thanks, AR ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users