yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #22256
[Question #688945]: Compiled Yade plot error in batch mode on Ubuntu 18.04
New question #688945 on Yade:
https://answers.launchpad.net/yade/+question/688945
Hi all!
I just compiled Yade from source code on a fresh Ubuntu 18.04. The problem is that in batch mode I have plot error and thus I can not see any plots. In not batch mode, plotting works fine. I tried it on another computer with a freshly installed Ubuntu 18.04 on it and it is the same. Am I missing something, like a not installed package? On Ubuntu 16.04 it works fine.
Thanks,
Daniel
Here are the error messages:
Traceback (most recent call last):
File "/home/user/dem/install/lib/x86_64-linux-gnu/yade-2019-10-11.git-e66c03c/py/yade/remote.py", line 36, in plot
fig=plot.plot(subPlots=True,noShow=True)
File "/home/user/dem/install/lib/x86_64-linux-gnu/yade-2019-10-11.git-e66c03c/py/yade/plot.py", line 594, in plot
createPlots(subPlots=subPlots)
File "/home/user/dem/install/lib/x86_64-linux-gnu/yade-2019-10-11.git-e66c03c/py/yade/plot.py", line 372, in createPlots
figs=set([l.line.get_axes().get_figure() for l in currLineRefs]) # get all current figures
AttributeError: 'Line2D' object has no attribute 'get_axes'
Error updating plots:
Traceback (most recent call last):
File "/home/user/dem/install/lib/x86_64-linux-gnu/yade-2019-10-11.git-e66c03c/py/yade/remote.py", line 36, in plot
fig=plot.plot(subPlots=True,noShow=True)
File "/home/user/dem/install/lib/x86_64-linux-gnu/yade-2019-10-11.git-e66c03c/py/yade/plot.py", line 594, in plot
createPlots(subPlots=subPlots)
File "/home/user/dem/install/lib/x86_64-linux-gnu/yade-2019-10-11.git-e66c03c/py/yade/plot.py", line 372, in createPlots
figs=set([l.line.get_axes().get_figure() for l in currLineRefs]) # get all current figures
AttributeError: 'Line2D' object has no attribute 'get_axes'
--
You received this question notification because your team yade-users is
an answer contact for Yade.