问题描述
默认情况下,ipython笔记本输出仅限于底部的小子窗口.当输出很大时,这使我们不得不使用输出窗口随附的单独的滚动条.
By default the ipython notebook ouput is limited to a small sub window at the bottom. This makes us force to use separate scroll bar that comes with the output window, when the output is big.
是否有任何配置选项不限制其大小,而是使其运行与实际输出一样高?还是选择在创建后调整其大小?
Any configuration option to make it not limited in size, instead run as high as the actual output is? Or option to resize it once it gets created?
推荐答案
请参见 jupyter自动滚动扩展(jupyter_contrib_nbextensions的一部分),它允许您在下拉菜单中选择输出开始滚动的时间(可以将其设置为从不滚动).不过,所使用的API不受官方支持,因此可能随时会中断.
See the jupyter autoscroll extension (part of jupyter_contrib_nbextensions), which allows you to select when the output starts scrolling in a dropdown menu (you can set it to never scroll). The API used is not officially supported though, so this may break at any time.
这篇关于调整ipython笔记本输出窗口的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!