I am currently using pipenv (virtual environment) where I pipenv install jupyterlab, then run jupyter lab with the jupyter lab command.
However, I can’t seem to get the split cell working.
When I right click any cell to split cell, it merely populates another cell below/above it, rather than on its sides.
This happens even when I select two cells and right click split cells.
Also, a side note if this matters, outside of my virtual environment, I seem to have more extensions available than inside my virtual environment. (why?)
Outside my virtual env
Inside my virtual env
(I can’t even find jupyter lab manager etc.)
The top two answers here cover some options on how to create similar things in JupyterLab; however, they are not direct equivalents.There’s also the sidecar widget for JupyterLab. There’s ipylab that also allows more advanced customization of the interface. You may be interested in ipylab’s SplitPanel widgets.
There should be an extension manager icon that looks like a puzzle piece on the left side of your JupyterLab interface? If you hover over it and leave your cursor there for a moment, the tooltip will say ‘Extension Manager’.That isn’t there? It and some other icons are below the folder symbol on the upper left side that allows you toggle into JupyterLab’s file navigation pane.
However, I was referring to splitting cells into two columns so I can execute code side by side and compare the output.
It seems to be called the “split cell” functionality if I’m not mistaken.
I’m really not sure why, perhaps because of my pipenv environment, but when I click on the extension icon (puzzle piece as you’ve mentioned), I get different installation options inside my pipenv virtual environment and outside my pipenv virtual environment.
I couldn’t upload the picture yesterdays since I’m a new member. But here’s the picture for the jupyter lab running inside my pipenv virtual environment
@ocean11 What in the existing JupyterLab 4.0 View → Render Side-by-Side (Shif + R) functionality is missing for your use case? Can you open enhancment requests in JupyterLab repository (GitHub - jupyterlab/jupyterlab: JupyterLab computational environment.) with detailed description for each proposed enhancement?
Shift + R side by side is not what I want. What I want is the flexibility for each cell to be half width ( each side by side) for comparison while the others stay original width.
I will try to open an enhancement request there. Thanks. The concept is just like the below picture rendering by original nbextension splitcell.