如何在浏览器中增加 JupyterLab 的输出宽度?

Kei*_*ons 7 python ipython jupyter jupyter-notebook jupyter-lab

在最初的 Jupyter 笔记本中,可以使用以下命令增加单元格输出宽度:

from IPython.core.display import display, HTML
display(HTML("<style>.container { width:100% !important; }</style>"))
Run Code Online (Sandbox Code Playgroud)

在 JupyterLab 中,上述命令无效,但我仍然想扩大我的单元格输出宽度。

谢谢!

*于 2018 年 9 月 29 日重新测试,此功能现在似乎正在运行。