A fully functional Jupyter Notebook is available as an interface component.
The Jupyter Notebook includes a number of features:
Create, import and export notebooks
Create charts and graphs
Supports automated tests and grading
Supports Python and R
The Jupyter Notebook viewer allows you to display a full Jupyter Notebook environment running securely in the cloud.
More information can be found in the project user guide.
To get started, create a Jupyter Notebook tab:
The following steps are optional steps you can take to improve your user's experience with the Jupyter Notebooks:
Use the "Data Science" stack
Change to a single pane UI under the interface settings
​Increase the sandbox resources
Select a starting notebook by clicking the blue sliders at the bottom of the Jupyter Notebook and entering the notebook's filename
You can upload or create a Jupyter Notebook and interact with it directly from the browser:
Do not forget to save your files. When a user engages with the content, their work will be saved automatically.
To install any software you need that is not included on the stack by default, you can use a startup script. If you find yourself needing the same software in many places or the sandbox is taking to long to load, please contact us! We're happy to re-build the stack with that software installed.
If you would like to hide the Jupyter Notebook's header and navigation by default, you can add the following to your startup script:
mkdir -p /home/nt-user/.jupyter/nbconfigecho '{"Notebook": {"Header": false,"Toolbar": false}}' > /home/nt-user/.jupyter/nbconfig/notebook.jsonchown nt-user:nt-user /home/nt-user/.jupyter/nbconfig/notebook.json
This will create a configuration file in the home directory that hides these when the notebook loads.
We currently support notebooks for Python 2, Python 3, and R. If you want it for other languages, just let us know!