← Back to team overview

yade-users team mailing list archive

Re: save python figure

 

> utils.plotDirections();
> yade.plot.plot(noShow=True).savefig('/home/chia/Desktop/try.pdf')
Oh, sorry, I missed that you needed utils.plotDirections (which in fact
predates yade.plot quite a bit). I added the noShow option in the last
commit, so you should be able to do

utils.plotDirections(noShow=True).savefig('/tmp/file.pdf')

HTH, v.





Follow ups

References