Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In a Jupyter notebook, how can I scroll past the last cell?

Tags:

ipython

geany

This is a simple ergonomics question. There's an option in the editor Geany than enables the user to scroll past the last line displayed. This allows the user to, for example, bring the last line of code up to eye-level on a vertically-oriented display.

How can I do something similar in a Jupyter notebook? I don't want my head pointed downward all the time. How can I scroll past the last cell?

I'd expect the result to be someway comparable to using the Chromium extension More Page Space.

like image 691
BlandCorporation Avatar asked Mar 10 '23 13:03

BlandCorporation


1 Answers

I was just looking for the same feature. I'm not sure if there is an official solution, but you can accomplish something similar to what you want by customizing the css. Try adding the following block to ~/.jupyter/custom/custom.css:

.end_space {
  height: 75vh;
}
like image 174
banjeremy Avatar answered Apr 27 '23 22:04

banjeremy