nglview.scripts package
Submodules
nglview.scripts.app module
-
class
nglview.scripts.app.
NGLViewApp
(**kwargs)[source]
Bases: notebook.notebookapp.NotebookApp
-
get_port
(port=None)[source]
nglview.scripts.cmd_example module
nglview.scripts.nglview module
-
nglview.scripts.nglview.
disable_extension
(jupyter)[source]
-
nglview.scripts.nglview.
get_remote_port
(port=None)[source]
-
nglview.scripts.nglview.
install_nbextension
(jupyter, user=True)[source]
-
nglview.scripts.nglview.
main
(notebook_dict={'metadata': {'language_info': {'name': 'python', 'nbconvert_exporter': 'python', 'version': '3.5.1', 'mimetype': 'text/x-python', 'codemirror_mode': {'name': 'ipython', 'version': 3}, 'file_extension': '.py', 'pygments_lexer': 'ipython'}, 'kernelspec': {'display_name': 'Python 3', 'name': 'python3', 'language': 'python'}}, 'cells': [{'cell_type': 'code', 'metadata': {'collapsed': True}, 'execution_count': 'null', 'source': ['import nglview as nv\n', 'import pytraj as pt\n', '\n', "traj = pt.iterload('test.nc', top='prmtop')\n", 'view = nv.show_pytraj(traj)\n', 'view'], 'outputs': []}], 'nbformat_minor': 0, 'nbformat': 4}, cmd_arg=['-b', 'html', '-d', '_build/doctrees', '.', '../dev'])[source]
Module contents