1 | initial version |

You're already importing `LineSegment`

and `Sphere`

, but you need to import `implicit_plot3d`

and `text3d`

. From where? Use the Sage function `import_statements`

:

```
sage: import_statements('implicit_plot3d')
from sage.plot.plot3d.implicit_plot3d import implicit_plot3d
sage: import_statements('text3d')
from sage.plot.plot3d.shapes2 import text3d
```

and while we're at it, importing from `sage.all`

is not ideal:

```
sage: import_statements('rainbow')
from sage.plot.colors import rainbow
```

So your import statements should be

```
from sage.plot.plot3d.shapes import LineSegment, Sphere
from sage.plot.colors import rainbow
from sage.plot.plot3d.implicit_plot3d import implicit_plot3d
from sage.plot.plot3d.shapes2 import text3d
```

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.