nglview.theme package

Submodules

nglview.theme.theme module

highly experimental. Use with your own risk

>>> from nglview import theme
>>> theme.oceans16() # oceans16 https://github.com/dunovank/jupyter-themes

Retart your notebook to reset to default Jupyter theme

If you want to set global theme for your notebook, it’s better to install jupyter-themes https://github.com/dunovank/jupyter-themes

nglview.theme.theme.oceans16()[source]
nglview.theme.theme.reset(hide_toolbar=False)[source]

Module contents