Difference between revisions of "Support/Jupyter"
Jump to navigation
Jump to search
AngelHerraez (talk | contribs) (Jupyter notebooks) |
|||
Line 3: | Line 3: | ||
The [https://jupyter.org/ Jupyter Notebook] is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text. | The [https://jupyter.org/ Jupyter Notebook] is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text. | ||
− | JSmol may be implemented in a Jupyter Notebook | + | JSmol may be implemented in a Jupyter Notebook through [https://towardsdatascience.com/jupyter-notebook-extensions-517fa69d2231 Jupyter Notebook Extensions], which blend javascript with the notebook environment. One extension is [https://github.com/fekad/jupyter-jsmol jupyter-jsmol] by Adam Fekete. Jupyter-jsmol provides a python wrapper to the JSmol widget. |
− | + | ||
+ | Jupyter-jsmol can be installed with pip in your notebook virtual environment. (Note the use of the underscore in the pip package) | ||
+ | |||
+ | <code>pip install jupyter_jsmol</code> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Revision as of 17:00, 11 September 2021
Running JSmol in Jupyter notebooks
The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text.
JSmol may be implemented in a Jupyter Notebook through Jupyter Notebook Extensions, which blend javascript with the notebook environment. One extension is jupyter-jsmol by Adam Fekete. Jupyter-jsmol provides a python wrapper to the JSmol widget.
Jupyter-jsmol can be installed with pip in your notebook virtual environment. (Note the use of the underscore in the pip package)
pip install jupyter_jsmol
.