Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

jsmol problem in Sagemath/Jupyter notebooks

Whenevr plotting 3d functions I get:

Interactive 3D plots using the default viewer do not work in SageNB, because JSmol cannot currently be packaged for Debian. See the README.source of the jmol package for more details on this situation. You have the following alternative options: View an interactive WebGL-based plot by giving the option viewer='threejs'. This should work out-of-the box on Firefox, but may require you to adjust some settings in Chromium - see chrome://flags for options and chrome://gpu for status. In both cases, the functionality also depends on your graphics hardware and drivers, but support should exist in most cases. View a less sophisticated interactive plot that does not require WebGL, by giving the option viewer='canvas3d'. View a non-interactive plot by giving the option viewer='tachyon'. Use the default viewer (Jmol) from the SageMath command-line interface, instead of the notebook.

I can use threejs for everything except plotting vector fields. Is there any way to get Jsmol working on a debian system? I've found nothing on google that would help.