Jupyter/Extensions: Difference between revisions
From charlesreid1
No edit summary |
|||
| Line 20: | Line 20: | ||
Example: [[Jupyter/MPI]] | Example: [[Jupyter/MPI]] | ||
==User-Contributed Notebook Extensions== | |||
Full instructions here: | |||
* https://github.com/ipython-contrib/jupyter_contrib_nbextensions | |||
Start by installing the different nb extensions available: | |||
<pre> | |||
pip3 install jupyter_contrib_nbextensions | |||
</pre> | |||
Install the notebook extension files: | |||
<pre> | |||
jupyter contrib nbextension install --user | |||
</pre> | |||
Command line options: | |||
<pre> | |||
--user to install into the user's home jupyter directories | |||
--system to perform installation into system-wide jupyter directories | |||
--sys-prefix to install into python's sys.prefix, useful for instance in virtual environments, such as with conda | |||
--symlink to symlink the nbextensions rather than copying each file (recommended, on non-Windows platforms). | |||
--debug, for more-verbose output | |||
</pre> | |||
[[Category:Jupyter]] | [[Category:Jupyter]] | ||
Revision as of 12:15, 2 December 2017
Notebook extensions
To enable/install a notebook extension:
jupyter nbextension enable <nbextension require path>
Example: Juptyer/Base16mpl
Also see: https://github.com/ipython-contrib/jupyter_contrib_nbextensions
Server extensions
To enable/install a server extension:
jupyter serverextension enable <sererextension require path and flags>
Example: Jupyter/MPI
User-Contributed Notebook Extensions
Full instructions here:
Start by installing the different nb extensions available:
pip3 install jupyter_contrib_nbextensions
Install the notebook extension files:
jupyter contrib nbextension install --user
Command line options:
--user to install into the user's home jupyter directories
--system to perform installation into system-wide jupyter directories
--sys-prefix to install into python's sys.prefix, useful for instance in virtual environments, such as with conda
--symlink to symlink the nbextensions rather than copying each file (recommended, on non-Windows platforms).
--debug, for more-verbose output