ASKSAGE: Sage Q&A Forum - Latest question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 23 Sep 2015 13:49:15 -0500sage.plot.plot3d.shapes2.Line() does not work in the cloudhttps://ask.sagemath.org/question/29546/sageplotplot3dshapes2line-does-not-work-in-the-cloud/The following code (straight from http://doc.sagemath.org/html/en/reference/plot3d/sage/plot/plot3d/shapes2.html) does not work in the SageMath Cloud, at least not for me:
from sage.plot.plot3d.shapes2 import Line
Line([(i*math.sin(i), i*math.cos(i), i/3) for i in range(30)], arrow_head=True)
The result is a long error message ending with "TypeError: 0 is not JSON serializable". Am I doing something wrong?Jeremy MartinWed, 23 Sep 2015 13:49:15 -0500https://ask.sagemath.org/question/29546/