On Dec 25, 2007 9:39 AM, Robert Miller <[EMAIL PROTECTED]> wrote: > > Running in a notebook, in a fresh version of 2.9.1, I can't display the > sphere. > > {{{ > from sage.plot.plot3d.all import Sphere > Sphere(1).show() > }}} > > """ > The page at https://localhost:8000 says: > > Reference Error: jmol SetDocument is not defined > """ > > Looking in plot/plot3d/all.py, the third line was commented out before > release, but uncommenting it does not change anything. Any ideas about > this?
The problem is that jmol isn't actually installed. You have to add jmol to the spkg/standard/deps file and also spkg/install, or it doesn't get installed -- just because something is in spkg/standard, doesn't mean it is automatically installed. Anyway, do this: sage -i jmol-11.2.14.p1 Then in a notebook cell (preferably use secure=False when starting the notebook), try: from sage.plot.plot3d.all import * show(Torus(5, 3, color=(0.7,0.3,0))) -- William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---