Change Cell, run, view result, and scroll all the way back to the original cell

I am new to this forum.
I have used jupyter notebook in a firefox browser for a while and suddenly it hits me that a lot of time is spent in changing a statment in cell, run it, and view the results many pages down, and then scroll all the way back to exact cell where I made the last
change. In other words, I cannot stay in the same cell and run and view the result in another window.

I have been programming a lot in Fortran or C, and I have a window to hold source code location in vi, and another window
I can compile and run the binary. I can see the output and then decide to make other changes the source code
in the same location.

My productivity drops in jupyter if I keep scrolling up and down. Any way to improve the situation?


Are you using JupyterLab by any chance?
In JupyterLab, you can open multiple views of the notebook by right-clicking the name tab at top, and selecting ‘New View for Notebook’.
See examples:

  • under ‘Create multiple synchronized views of a single notebook:’ here. (Direct link to video).
  • #2 ’ Side by Side’ here.

The arranging that can be done can go way beyond side-by-side, as well.


You can also open up a single cell output into another JupyterLab tab. Just right click on the output and select “create new view of output”. That sounds like exactly what you wanted.


Thanks for reply.

Sounds really exciting.

I have been using anaconda3 in Linux to “install” jupyeter notebook. Does
anaconda3 have jupyeterlab?

If not, I have to hunt down the “easiest” way
to install jupyeterlab on my CentOS7 (Linux centos73-asus 3.10.0-1160.41.1.el7.x86_64 #1 SMP Tue Aug 31 14:52:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux) .

Any quick advice?

conda install -c conda-forge jupyterlab in anaconda3 works. Will explore more!

1 Like