使用旧的 Jupyter Notebook UI,可以像这样手动调整 Notebook 中单元格的宽度:
from IPython.core.display import HTML, display
display(HTML("<style>.container { width:80% !important; }</style>")) # Allow increasing width of cells to specified %
在 Jupyter Lab 中,这不再起作用。有人知道如何在 Jupyter Lab 中像这样调整单元格宽度吗?