molsysviewer.thirds.jupyter package#
Submodules#
molsysviewer.thirds.jupyter.load_html_in_notebook module#
Jupyter helper for embedding pre-rendered MolSysViewer HTML in docs/notebooks.
- molsysviewer.thirds.jupyter.load_html_in_notebook.load_html_in_notebook(filename, *, width='100%', height='480px')[source]#
Return an IFrame pointing to a pre-generated MolSysViewer HTML asset.
The default height matches the default canvas height used by the MolSysViewer widget layout.
- Parameters:
filename (str | Path)
width (str)
height (str)
Module contents#
- molsysviewer.thirds.jupyter.load_html_in_notebook(filename, *, width='100%', height='480px')[source]#
Return an IFrame pointing to a pre-generated MolSysViewer HTML asset.
The default height matches the default canvas height used by the MolSysViewer widget layout.
- Parameters:
filename (str | Path)
width (str)
height (str)