How To View Jupyter Notebook As Slideshow With RISE

In the previous article, I have told you How To Create Slideshow From Jupyter Notebook. In this article I will introduce a python library RISE to you, with this library, you can create a slideshow from the jupyter notebook file easily.

1. Install RISE With PIP.

  1. First, run the below command to check whether RISE has been installed or not.
    pip show RISE
    WARNING: Package(s) not found: RISE
  2. If you get the above message, it means that RISE has not been installed. Then run the below command to install it.
    pip install RISE
  3. After installing it successfully, run the below command to check the RISE installation again.
    pip show RISE
    Name: rise
    Version: 5.6.1
    Summary: Reveal.js - Jupyter/IPython Slideshow Extension
    Home-page: UNKNOWN
    Author: Damian Avila
    Author-email: [email protected]
    License: BSD-3-Clause
    Location: c:\users\zhaosong\anaconda3\envs\python_example\lib\site-packages
    Requires: notebook
    Required-by:

2. Use RISE To Create Jupyter Notebook SlideShow.

  1. Before you use RISE, you had better restart your jupyter notebook server.
  2. Then open the jupyter notebook file again, you will see a chart icon at the top right of the menu bar.
  3. Click the chart icon, it will show the slideshow of this jupyter notebook file.

3. Disable And Remove RISE.

  1. Run the below command to disable RISE.
    jupyter-nbextension disable rise --py --sys-prefix
  2. Run the below command to remove RISE.
    jupyter-nbextension uninstall rise --py --sys-prefix

Reference

  1. RISE Installation Document.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.