gpt4 book ai didi

jupyter-notebook - Jupyter Notebook新电池类型默认

转载 作者:行者123 更新时间:2023-12-04 07:18:29 28 4
gpt4 key购买 nike

当我使用jupyter notebook时,

我希望新单元格的类型为“markdown”。

默认情况下,新单元格的类型为“代码”。我应该修改哪个配置文件以及应该更改哪个变量?

最佳答案

转到您的python环境的site-packages目录并修改site-packages/notebook/static/notebook/js/main.min.js
找到类似的东西

Notebook.options_default = {
// can be any cell type, or the special values of
// 'above', 'below', or 'selected' to get the value from another cell.
default_cell_type: 'code'
};

default_cell_type: 'code'更改为 default_cell_type: 'markdown'

关于jupyter-notebook - Jupyter Notebook新电池类型默认,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40382454/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com