I often see people making programming presentations using Jupyter Notebook. In many cases, it seems that the notebook is used as it is and the presentation is made by scrolling down the screen little by little. After executing the program, move the browser screen down a little and execute the program again. I also do it well. Jupyter Notebook can be explained by executing the program sequentially and showing the result, so it is easy to understand if you talk in this flow, but this method is unexpectedly inconvenient and there are many cases where you get confused during the presentation. I think there are two causes.
When you actually try it, it looks like this figure.
It is unexpectedly inconvenient for both the presenting side and the viewing side. Good news for those who are in trouble. In fact, Jupyter Notebook has a better presentation tool ** "RISE" **.
RISE is an extension of Jupyter Notebook. It is open to the public for free. https://github.com/damianavila/RISE
By using RISE, you can convert your Notebook into a presentation slide and show it on your web browser. The image looks like this.
Characters such as programs are enlarged to a size that is easy to read. Images and data that extend beyond the browser can be scrolled internally, so the screen edges will not be cut off.
The installation method is easy. In the environment where Jupyter Notebook is installed, execute the following.
pip install RISE
jupyter-nbextension install rise --py --sys-prefix
jupyter-nbextension enable rise --py --sys-prefix
It takes only 3 lines and takes about 10 seconds.
After installing and opening Jupyter Notebook, the following button is added in the upper right corner.
Press this button to slide your Notebook in your browser.
The screen configuration is very simple.
You can also move the screen with "←" and "→".
RISE classifies the display method in the presentation according to the cell type of Jupyter Notebook. The cell type can be changed by selecting "View"> "Cell Toolbar"> "Slideshow" from the menu. If you select "Slideshow", you will be able to select "Slide Type" in the upper right corner of the cell.
The slide types that can be selected are as follows.
--"-": Display the cell as it is --Slide: Makes a cell into one slide --Sub-slide: Make it a sub-slide of the previous slide --Fragment: Displayed below the front slide (screen edge is cut off) --Skip: Do not display --Notes: Treated as notes
Basically, you can use Slide. I think the other types can be used for slightly elaborate slide movements, but I don't think they are very convenient (if you know how to use them, please let me know).
As you know, Jupyter Notebook allows you to write words in Markdown format. If you write text and images in Markdown, you can also make slides like PowerPoint.
Finally, I would like to recommend RISE. RISE allows you to run programs during your presentation. This allows for interactive and engaging presentations.
The execution method is to press "SHIFT + ENTER" at the same time. It is the same as the program execution method in Jupyter Notebook.
We have introduced the Jupyter Notebook presentation tool ** "RISE" **, which can be easily installed and used to achieve tremendous effects. This is goodbye to the days when scrolling doesn't go well during a Notebook presentation.
[2017/05/28 postscript] I gave a presentation to a customer with Jupyter Notebook + RISE at a company event the other day, and it went smoothly. There was no need to transfer the program to PowerPoint, and it was very convenient from presentation creation to implementation.
Recommended Posts