# sage.plot.plot3d.shapes2.Line() does not work in the cloud

The following code (straight from http://doc.sagemath.org/html/en/refer...) 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?

I guess I can just use line3d() instead.... but maybe this error indicates something else is going on.

I think this is a SMC 3d renderer bug, as this works fine in the normal Sage notebook.

I've created a ticket: https://github.com/sagemathinc/smc/is...