9 things you did not know about jupyter notebook

Original article was published by Magdalena Konkiewicz on Artificial Intelligence on Medium


7. You can create presentations from Jupyter notebook.

Have you been using Microsoft PowerPoint or Google slides to create presentations? While those are good options there may be better ways to create a technical presentation.

You can create a presentation using the Jupyter notebook itself. The advantage of this is that you can reuse the content that you have used for the notebook. It allows you to choose which cells you want to use for the presentation, how to structure them, and which slides to skip.

When your notebook is ready you can create a presentation by going to View -> Cell Toolbar -> Slideshow.

Once you have done this each cell should have a Slide Type option in the right-hand corner of the cell. You can choose the sell to be slide, sub-slide, fragment, note, or skip decide to skip it.

After deciding on each slide type you can render your presentation by running the following command in the terminal window:

jupyter nbconvert <notebook name> --to slides --post serve

Or by running the following command from the notebook itself.

!jupyter nbconvert <notebook name> --to slides --post serve

This should render the presentation in the new tab that is run on your localhost.

You are able to navigate through the presentation using the arrows at the bottom right corner.

It takes time to get used to Jupyter notebook presentations so I suggest that you play with it a bit and experiment with different slide types in order to learn how to use them effectively. Once you get a grasp of it, jupyter notebooks may become your favorite tool to create technical presentations.