jupyter notebook Navigate 设置
时间: 2023-10-31 19:06:09 浏览: 68
jupyter notebook Navigate 设置可以通过以下步骤实现:
1. 打开 Jupyter Notebook,进入任意一个 Notebook。
2. 点击右上角的 "Edit",选择 "Edit Notebook Metadata"。
3. 在弹出的窗口中,找到 "toc" 字段,将其设置为 true。
4. 保存 Notebook,刷新页面,即可看到左侧出现了目录导航。
相关问题
jupyter notebook Navigate
好的,关于 jupyter notebook 的导航,你可以使用以下快捷键:
1. 在命令模式下:
- 上移/下移当前单元格:上/下箭头
- 在当前单元格下方插入新单元格:B
- 在当前单元格上方插入新单元格:A
- 删除当前单元格:D,D
- 进入编辑模式:Enter
- 退出编辑模式:Esc
- 运行当前单元格并选中下一个单元格:Shift+Enter
- 运行当前单元格并在下方插入新单元格:Alt+Enter
- 切换代码/Markdown模式:Y/M
- 查找和替换:F
- 打开命令面板:Shift+Ctrl+P
2. 在编辑模式下:
- 运行当前单元格:Shift+Enter
- 退出编辑模式:Esc
jupyter notebook not trusted
If you are facing the issue of "jupyter notebook not trusted", it means that the browser is not allowing the execution of the notebook because it is not considered safe. To fix this issue, you can follow the steps below:
1. Open the terminal and navigate to the directory where your Jupyter notebook is located.
2. Type the following command to generate a new configuration file:
`jupyter notebook --generate-config`
3. Open the configuration file using the following command:
`nano ~/.jupyter/jupyter_notebook_config.py`
4. Add the following line to the file:
`c.NotebookApp.trust_xheaders = True`
5. Save the file and exit.
6. Restart Jupyter notebook using the following command:
`jupyter notebook`
Now, when you open the notebook in your browser, it should be trusted and you should be able to execute the cells without any issues.
阅读全文