Suddenly, output for statements started to appear inside scrollable frames.
I was playing with only one parameter
pd.options.display.max_rows = 1000
but after experiments, I commented this line out and restarted the kernel.
Nevertheless, one of my outputs appears inside frame.
How to avoid this?
To prevent scrolling within a single cell output, select the cell and press Shift+O while in command state. It will toggle output for that particular cell. If you want all the cells to display long outputs without scrolling, then go to the Cell tab -> All Outputs -> Toggle Scrolling . That's it !!!
Put a ; at the end of a line to suppress the printing of output [Reference].
To show the full data without any hiding, you can use pd. set_option('display. max_rows', 500) and pd. set_option('display.
You can try Cell -> Current Outputs -> Toggle Scrolling in the Jupyter UI to enable the scrolling for the output of one cell.
You can just use mouse to click on the outside of the output Frame to toggle between scrolling, it worked for me. More precisely, you have to click the square to the left of your output (see image).
Single click will toggle scroll mode, double click will hide output completely.
To disable auto-scrolling, execute this javascript in a notebook cell before other cells are executed:
%%javascript IPython.OutputArea.prototype._should_scroll = function(lines) { return false; }
There is also a jupyter notebook extension, autoscroll, you can use for a nicer UI.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With