The new Jupyter Lab is great, but I am missing the option to turn cells into slides. In classic Jupyter Notebooks, that was under "View > Cell Toolbar > Slideshow":
What happened to the feature? Is there a way to edit slides in Jupyter Lab?
The first step is to enable the Slideshow option in the View > Cell Toolbar options. Just click on the Slideshow option and continue reading. Each cell in the Jupyter Notebook will now have a Slide Type option in the upper-right corner.
Jupyter Notebook has support for many kinds of interactive outputs, including the ipywidgets ecosystem as well as many interactive visualization libraries. These are supported in Jupyter Book, with the right configuration. This page has a few common examples.
first, change the type of the cell to -> markdown. Step 2: After that click edit in the jupyter notebook menu. after that click 'insert image'. Edit -> insert image.
I have jupyter lab 1.1.4 installed on Ubuntu 18.04.3 LTS and am using a python 3 virtual env kernel and it works great. Just complete your notebook and then configure each cell using the "Notebook Tools" tab on the far left (as shown in screenshot). Then save and close the notebook and run below command to output the slides.
Open the terminal and navigate to the recently saved .ipynb and run
jupyter nbconvert Untitled2.ipynb --to slides
For slides or say
jupyter nbconvert Untitled2.ipynb --to pdf
For a pdf
Note: You might need to install the Tex package to perfrom pdf outputs. See the docs here or just run the below command to install it.
sudo apt-get install texlive-xetex texlive-fonts-recommended texlive-generic-recommended
Cheers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With