Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IPython Auto Scroll?

In IPython, if I run a cell, the browser scrolls to put the cell near the bottom of the page. If this happens when I plot a chart, then I can't see the chart and have to scroll down manually. How can I stop this happening?

like image 756
Ginger Avatar asked Jan 25 '16 21:01

Ginger


People also ask

How do I scroll down in Jupyter?

There is a Jupyter extension named scroll_down that can be used to automatically scroll down through the output.

How do I show full output in Jupyter?

To show the full data without any hiding, you can use pd. set_option('display. max_rows', 500) and pd.

How do you scroll right in Jupyter notebook?

in notebook you see "scroll output" . On clicking anywhere in that area you get your output scrollable both horizontally and vertically.

How do you use Jupyter extensions?

After installing, open Jupyter Notebook. You will see a new tab, “Nbextensions” will appear in the menu (as shown in the image). When you click it, you will see a list of available extensions that you can use to increase your productivity of Jupyter Notebook.


1 Answers

I feel your frustration!

This will probably depend on where you plotter functionality is within your ipython notebook, but one solution (especially if it is in the last cell) is to create many blank cells below your plotter cell (say 10 to 20) then use Ctrl + Enter to run the plotter cell. This may need some playing around with but I have gotten this to work for me!

(I think the idea of Ctrl + Enter is to keep the cell where it is)

like image 53
tda Avatar answered Sep 24 '22 16:09

tda