Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jupyter Notebook: enable vertical scrolling in code block

How do I enable vertical scrolling in a code block in a jupyter notebook?

I've done it accidentally before, but now I can't reproduce it. What I found was set autoscroll = true in the file itself using a text editor...

However, I did that... and it already has a setting, "scrolled": true. In the notebook, it has only horizontal scrolling, so I guess that is what the "scrolled" setting modified.

like image 564
Chris Avatar asked Feb 20 '16 20:02

Chris


Video Answer


1 Answers

In order to enable vertical scrolling in an output cell of the notebook, you just need to click to the left of the cell content (in the margin, you will see the area becomes slighty shaded when you are over it).

If you double click, the content of output cell will be hidden.

If you would like to hide the content of an input cell, see also Scroll windows for code in iPython (Jupyter) Notebooks?.

like image 61
Boris Bolliet Avatar answered Oct 28 '22 22:10

Boris Bolliet