Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Slideshow editing with Jupyter Lab

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":

enter image description here

What happened to the feature? Is there a way to edit slides in Jupyter Lab?

like image 335
clstaudt Avatar asked Oct 06 '18 08:10

clstaudt


People also ask

How do you do a slideshow in Jupyter Notebook?

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.

Does Jupyter support data visualization?

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.

How do you display pictures in a Jupyter Notebook?

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.


1 Answers

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.

enter image description here

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

enter image description here

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

like image 76
John Drinane Avatar answered Sep 26 '22 06:09

John Drinane