# Jupyter notebooks are now usable in 3D Slicer

**URL:** https://discourse.slicer.org/t/jupyter-notebooks-are-now-usable-in-3d-slicer/3438
**Category:** Support
**Tags:** feature, python, jupyter
**Created:** [July 10, 2018, 2:42am UTC](https://discourse.slicer.org/t/jupyter-notebooks-are-now-usable-in-3d-slicer/3438 "2018-07-10T02:42:32Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [July 10, 2018, 2:42am UTC](https://discourse.slicer.org/t/jupyter-notebooks-are-now-usable-in-3d-slicer/3438/1 "2018-07-10T02:42:32Z")

</div>

We worked hard with @jcfr during the during [Slicer project week in Gran Canaria](https://na-mic.github.io/ProjectWeek/PW28_2018_GranCanaria/) and we are excited to share one of the newest developments: **[Jupyter notebook](https://jupyter.org/) support**.

You can create interactive Python notebooks to run Slicer code and show resulting text data or slicer/3D view content in the notebook. Great for experimenting and sharing code and results with others.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/3/93d02fef499b55526161e0d4a621abf600263291.png)

See an example notebook [here](https://github.com/lassoan/SlicerNotebooks/blob/master/My%20second%20notebook.ipynb), which shows loading of a sample data set, display of a slice view, creation and display of a surface model. See information about how to set up and use notebooks [here](https://github.com/Slicer/SlicerJupyter).

There are still a number of limitations (currently the extension is only available for Windows - will be fixed within a week; auto-complete is not implemented yet; display options are limited, etc.), but it would be great to hear from you, to keep us motivated and help us decide where to focus our efforts.

---

<div class="post-metadata">

### Author: ![Fernando](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fernando/32/5640_2.png) [@Fernando](https://discourse.slicer.org/u/Fernando)
#### Post date: [July 14, 2018, 8:19pm UTC](https://discourse.slicer.org/t/jupyter-notebooks-are-now-usable-in-3d-slicer/3438/2 "2018-07-14T20:19:46Z")

</div>

This is awesome, looking forward to trying as soon as it’s ready for other platforms!

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [August 21, 2018, 11:14am UTC](https://discourse.slicer.org/t/jupyter-notebooks-are-now-usable-in-3d-slicer/3438/3 "2018-08-21T11:14:38Z")

</div>

A post was split to a new topic: [How to start Slicer Jupyter kernel?](https://discourse.slicer.org/t/how-to-start-slicer-jupyter-kernel/3855)

---

<div class="post-metadata">

### Author: ![Saima](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@Saima](https://discourse.slicer.org/u/Saima)
#### Post date: [August 29, 2018, 12:56pm UTC](https://discourse.slicer.org/t/jupyter-notebooks-are-now-usable-in-3d-slicer/3438/4 "2018-08-29T12:56:02Z")

</div>

Dear Andras,  
Could you please tell me why auto complete is not working for jupyter. I am using nightly version?

thank you

Regards,  
Saima Safdar

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [August 29, 2018, 4:23pm UTC](https://discourse.slicer.org/t/jupyter-notebooks-are-now-usable-in-3d-slicer/3438/5 "2018-08-29T16:23:56Z")

</div>

In recent nightly builds, with great help from @ihnorton, we added auto-complete (press Tab key):

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/b/8b0bf76a6ac4f511fa6831158060cfc7ad7b3d8a.png)

We also added inspection (press Shift-Tab) to get quick documentation on a Python methods. Currently, limitation is that documentation can only retrieved for native Python code, but we’ll work on extending this to wrapped C++ methods, too (you can track progress of this task [here](https://github.com/Slicer/SlicerJupyter/issues/13)).

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/3/33fb389786bb75f8bd59027df981427b02211d35.png)

To get these features:

- install a recent nightly version of Slicer
- install SlicerJupyter extension from the extension manager
- go to JupyterKernel module
- click “Install Slicer kernel in Jupyter” button

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [October 17, 2018, 7:59pm UTC](https://discourse.slicer.org/t/jupyter-notebooks-are-now-usable-in-3d-slicer/3438/6 "2018-10-17T19:59:48Z")

</div>

5 posts were split to a new topic: [Slicer Jupyter notebooks can be launched using just a web browser](https://discourse.slicer.org/t/slicer-jupyter-notebooks-can-be-launched-using-just-a-web-browser/4445)
