collapse cell in jupyter notebook

前端 未结 12 1308
长发绾君心
长发绾君心 2020-12-22 17:00

I am using ipython Jupyter notebook. Let\'s say I defined a function that occupies a lot of space on my screen. Is there a way to collapse the cell?

I want the func

12条回答
  •  悲&欢浪女
    2020-12-22 17:05

    You can create a cell and put the following code in it:

    %%html
    
    

    Running this cell will hide all input cells. To show them back, you can use the menu to clear all outputs.

    Otherwise you can try notebook extensions like below:

    https://github.com/ipython-contrib/IPython-notebook-extensions/wiki/Home_3x

提交回复
热议问题