yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #21057
Re: [Question #685237]: KeyError
Question #685237 on Yade changed:
https://answers.launchpad.net/yade/+question/685237
Status: Open => Answered
Jan Stránský proposed the following answer:
> So, I'm thinking this is related to the O.save and O.load problem?
yes, O.save / O.load only treat C++ stuff, yade.plot is purely Python stuff and it is not saved nor loaded.
Depending on what you want with plot.data, you can:
- save / load the plot.data dictionary at the time of with O.save / O.load. (if you want previous data to be preserved)
- just continue running and call plot.saveDataTxt at a time when it is not empty (if the previous data are not important or you are happy with having them in 2 files)
- ...
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.