yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #08563
[Question #239133]: IndexError
New question #239133 on Yade:
https://answers.launchpad.net/yade/+question/239133
Hi teachers
I run uniax-post.py , but there is a error. I do not know how to modify .
Running script /home/py/test/tunnel/uniax-post.py
Traceback (most recent call last):
File "bins/yade-pingyang", line 162, in runScript
execfile(script,globals())
File "/home/py/test/tunnel/uniax-post.py", line 28, in <module>
pylab.figure(); ax,map=post2d.plot(post2d.data(extractDmg,flattener,stDev=2e-3))
File "/home/py/yade/lib/yade-pingyang/py/yade/post2d.py", line 277, in plot
ct=axes.contour(data['x'],data['y'],data['val'],colors='k',origin='lower',extend='both')
File "/usr/lib/pymodules/python2.7/matplotlib/axes.py", line 7381, in contour
return mcontour.QuadContourSet(self, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/contour.py", line 1112, in __init__
ContourSet.__init__(self, ax, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/contour.py", line 704, in __init__
self._process_levels()
File "/usr/lib/pymodules/python2.7/matplotlib/contour.py", line 911, in _process_levels
self._levels.insert(0, min(self.levels[0],self.zmin) - 1)
IndexError: index out of bounds
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.