← Back to team overview

yade-users team mailing list archive

Re: [Question #232190]: error with plotting in the second example (Gravity deposition)

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Abdul,

in the beginning, the figure is empty (because there are no data to
plot).


> yade.plot: creating fake plot, since there are no y-data yet
> /usr/lib/pymodules/python2.7/matplotlib/axes.py:4486: UserWarning: No
> labeled objects found. Use label='...' kwarg on individual plots.
>   warnings.warn("No labeled objects found. "
>

these errors are ok, I got the same, but still was able to run the
simulation without problem


>
>
> and then when I ran the simulation it gave me this error:
>
>
> NameError Traceback (most recent call last)
> /home/abdul/<string> in <module>()
>
> NameError: name 'addPlotData' is not defined
>
> ----------------------------------------------------------------------------------------------------------------------
> NameError Traceback (most recent call last)
> /home/abdul/<string> in <module>()
>
> NameError: name 'checkUnbalanced' is not defined
>

So you are still getting NameErrors even after running directly from
console? I ran it with yade-daily without any problem, so maybe you could
try it [1]..

Jan

[1] https://yade-dem.org/doc/installation.html#packages

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