简体   繁体   中英

How to plot/print out of frame in Jupyter Notebook?

If there is a lot of data to display, Jupyter Notebook wraps it into frame box woth scroll bars. Is is possible to disable this feature? Sometimes it is harmful:

在此处输入图片说明

Also, is it possible to disable fixed width at all?


If just disable scrolling, the plot is truncated, which is also not acceptable

在此处输入图片说明

Disable auto-scroll by running the following in a cell first:

%%javascript
IPython.OutputArea.prototype._should_scroll = function(lines) {
    return false;
}

Or via the user interface:

Cell -> All Output / Current Outputs -> Toggle Scrolling

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