Skip to main content
 首页 » 编程设计

python之Jupyter 笔记本 : split screen vertically (i. e。水平添加单元格)

2024年10月24日6shangdawei

是否可以在另一个单元格的一侧添加一个单元格,垂直分割屏幕? 这在比较两个事物列表时似乎非常有用。

我没有看到开箱即用的这个选项,所以我猜它需要一些额外的 js?

请您参考如下方法:

这现在可以在 JupyterLab 中实现.参见 this示例:

...there is a menu item to create a new side-by-side view of that same notebook that will remain synchronized with the other view:

请注意,JupyterLab 最终将取代 Jupyter Notebook。参见 this回答。