← Back to team overview

yade-users team mailing list archive

Re: [Question #152906]: how to run the example in the tutorial

 

Question #152906 on Yade changed:
https://answers.launchpad.net/yade/+question/152906

Vincia Jackson posted a new comment:
I tried the shortcuts yade provides by clicking F8 and the following
error shows up, I'm still looking into the qt4 feature because I have
two scons-profile files:,one named scons.profile-default and the other
scons.current-profile

Yade [1]: import yade.plot; yade.plot.plot();
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)

/home/ervin/yade/lib/yade-trunk/py/yade/__init__.pyc in <module>()
----> 1 
      2 
      3 
      4 
      5 

/home/ervin/yade/lib/yade-trunk/py/yade/plot.pyc in plot(noShow, subPlots)
    586         global currLineRefs
    587         figs=set([l.line.get_axes().get_figure() for l in currLineRefs])
--> 588         if not hasattr(list(figs)[0],'show') and not noShow:
    589                 import warnings
    590                 warnings.warn('plot.plot not showing figure (matplotlib using headless backend?)')

IndexError: list index out of range
Yade [2]:

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.