简体   繁体   中英

Collapse Output In VS Code Jupyter Notebook into Scrollable Window

Is there a way to show the output such as a very long data-frame in a scrollable window in VS Code Jupyter Notebook?

I am aware that pressing letter "o" allows you to collapse all output. But having the scrollable window is still preferable as it allows you to check the output while referring to other windows.

I also checked this link but couldn't get it work.

Per the comments, a workaround to trigger the scrollable window is to add a print statement to the cell output. For example print("foo") at the beginning or end of a cell.

There is a beta feature for scrolling now. Simply add "notebook.experimental.outputScrolling": true to settings.json .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM