python - 如何减少 Jupyter Visual Studio 代码输出中的行间距?

标签 python jupyter-notebook jupyter visual-studio-code

当我在 Jupyter Visual Studio 代码输出中打印某些内容时,我想减少行之间的间距。

电流输出

Screenshot

当我在浏览器中使用它时,我想要像 Jupyter 这样的输出 Screenshot

最佳答案

vscode v1.67 中似乎添加了一个新设置:

notebook.outputLineHeight

参见https://github.com/microsoft/vscode/commit/9a87fe7eaf2bcf29de4f5ec7c02044c410c95c0f

关于python - 如何减少 Jupyter Visual Studio 代码输出中的行间距?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68675861/

相关文章:

用于连接到 One Drive for Business 的 Python 脚本

python - 在 Jupyter Notebook 上清理并制作可读的条形图

python - 为什么 ipywidget 按钮调用的 my 函数不返回输出?

python-3.x - Jupyter 认证问题

python - 使用空请求对象调用 View 函数

python - VS代码: Python Interpreter can't find my venv

python - 创建 requirements.txt 没有 @ ~~ 的东西

python - matplotlib 和 seaborn 热图在 Jupyter 中与 savefig 的渲染方式不同(标签被切断)

python-3.x - numpy中的groupby,计数和平均值,python中的pandas

python - 如何防止两个互相更新的小部件出现无限循环?