Jaakko Luttinen
Jaakko Luttinen

Reputation: 735

Interactive Jupyter/IPython notebooks in slideshow mode?

Is it possible to run Jupyter Notebooks in an interactive slideshow mode? That is, Python kernel would be running in the background and I can modify and execute cells.

The following command generates HTML slideshow and I can't modify nor execute the cells:

jupyter nbconvert mynotebook.ipynb --to slides --post serve

Upvotes: 17

Views: 11175

Answers (2)

PPK
PPK

Reputation: 307

Another option is View=>Cell toolbar=>None.
When necessary, run

pip install rise
or
conda install rise
in terminal. And relaunch Jupyter notebook.

Upvotes: 1

Brandon Rhodes
Brandon Rhodes

Reputation: 89425

Update #2: The version of RISE on PyPI installed with pip no longer seems to work with modern Jupyter Notebooks. Instead, the README inside RISE's repository recommends installing with this command, which at least in my case did result in a working slideshow:

conda install -c damianavila82 rise

Original: Yes! Install this by following its instructions:

https://github.com/damianavila/RISE

and then restart the Jupyter Notebook server and re-open one of your notebooks. There should now be an "Enter/Exit Live Reveal Slideshow" button on the notebook toolbar, just to the right of the "CellToolbar" button.

Update #1: Both pip install rise and conda install rise should now be able to successfully install it!

Upvotes: 19

Related Questions