← Back to team overview

yade-users team mailing list archive

Re: [Question #668081]: Problem with matplotlib.pyplot

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
> My initial desire is how to fix the error of this "plot" function.

you need to define plot.plots before:

from yade import plot
plot.plots = {'x':'y'} # or something else, see [1]

Jan

[1] https://yade-dem.org/doc/user.html#plotting-variables

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.