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.
- First, run the below command to check whether RISE has been installed or not.
pip show RISE WARNING: Package(s) not found: RISE
- 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
- 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: damianavila82@yahoo.com.ar 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.
- Before you use RISE, you had better restart your jupyter notebook server.
- Then open the jupyter notebook file again, you will see a chart icon at the top right of the menu bar.
- Click the chart icon, it will show the slideshow of this jupyter notebook file.
3. Disable And Remove RISE.
- Run the below command to disable RISE.
jupyter-nbextension disable rise --py --sys-prefix
- Run the below command to remove RISE.
jupyter-nbextension uninstall rise --py --sys-prefix
Reference