Disable iPython Notebook Autoscrolling

后端 未结 6 2101
深忆病人
深忆病人 2020-12-02 16:28

In iPython Notebook, is it possible to disable the autoscrolling of long outputs? Or at least set a threshold for the output length before autoscrolling sets in?

Tri

6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-02 17:09

    To disable scroll to bottom after run all command, execute this code:

    %%javascript
    require("notebook/js/notebook").Notebook.prototype.scroll_to_bottom = function () {}
    

提交回复
热议问题