read-only cells in ipython notebook

后端 未结 3 789
甜味超标
甜味超标 2021-02-04 03:19

Is there a way to mark a cell in the ipython notebook readonly using the json format in the ipynb file? (E.g., a cell attribute \"readonly\":false or some such.) If

3条回答
  •  -上瘾入骨i
    2021-02-04 04:07

    Yes, Use the steps below

    1. Select view on the menubar
    2. Point to Cell Toolbar and select Edit Metadata
    3. An "Edit Metadata" button will appear at the top-right corner of the cell.
    4. Click on that button and edit the json that pops up. Set the editable key to true of false to get the desired effect.

提交回复
热议问题