ipython/jupyter notebook 中的只读单元格 [英] read-only cells in ipython/jupyter notebook
本文介绍了ipython/jupyter notebook 中的只读单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法使用 ipynb 文件中的 json 格式只读标记 ipython/jupyter notebook 中的单元格?(例如,单元格属性 "readonly":false
或其他一些.)如果没有,是否有 jquery hack 来找到抑制单元格中的双击事件?
Is there a way to mark a cell in the ipython/jupyter notebook readonly using the json format in the ipynb file? (E.g., a cell attribute "readonly":false
or some such.) If not, is there a jquery hack to find suppress the double click event in the cell?
推荐答案
是的,使用以下步骤
- 选择菜单栏上的视图
- 指向单元格工具栏并选择编辑元数据
- 编辑元数据"按钮将出现在单元格的右上角.
- 单击该按钮并编辑弹出的 json.将可编辑键设置为 true 或 false 以获得所需的效果.
这篇关于ipython/jupyter notebook 中的只读单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文