禁用 iPython Notebook 自动滚动 [英] Disable iPython Notebook Autoscrolling
本文介绍了禁用 iPython Notebook 自动滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 iPython Notebook 中,是否可以禁用长输出的自动滚动?或者至少在自动滚动设置之前为输出长度设置一个阈值?
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?
尝试了以下命令
%%javascript
IPython.OutputArea.auto_scroll_threshold = 9999;
但它给出了错误
Javascript error adding output!
SyntaxError: Unexpected identifier
See your browser Javascript console for more details.
推荐答案
也可以通过用户界面完成.
Can also be done via user interface.
- 单个单元格:单元格->当前输出->切换滚动
- 所有单元格:单元格->所有输出->切换滚动
这篇关于禁用 iPython Notebook 自动滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文