wxprof
unread,Aug 27, 2012, 4:37:47 PM8/27/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to scit...@googlegroups.com
I installed SciTools 0.9.0 from source on my Linux machine (Red Hat
4.1.2 x86_64 running Python 2.7.2) specifically for the contourslice
functionality. SciTools works well on many of the demonstration plots
in the examples directory that came with the tarball. Unfortunately,
contourslice_demo1.py produces two blank plots showing only the axes.
The flow() function produces reasonable numbers for x,y,z, and v. A
possibly related error occurs with contourslice_demo2.py:
Traceback (most recent call last):
File "contourslice_demo2.py", line 28, in <module>
show()
File "/usr/local/epd-7.2-2-rh5-x86_64/lib/python2.7/site-packages/scitools/easyviz/common.py", line 4402, in show
self._replot()
File "/usr/local/epd-7.2-2-rh5-x86_64/lib/python2.7/site-packages/scitools/easyviz/matplotlib_.py", line 978, in _replot
self._set_axis_props(ax)
File
"/usr/local/epd-7.2-2-rh5-x86_64/lib/python2.7/site-packages/scitools/easyviz/matplotlib_.py",
line 394, in _set_axis_props
self._set_daspect(ax)
File "/usr/local/epd-7.2-2-rh5-x86_64/lib/python2.7/site-packages/scitools/easyviz/matplotlib_.py", line 220, in _set_daspect
r = float(xmax-xmin)/(ymax-ymin)
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Scitools, numpy, scipy, latex, and matplotlib all passed the diagnostic.py test, but the others failed.
Any thoughts on what I am missing?