Keyboard shortcut to clear cell output in Jupyter notebook

后端 未结 6 1673
误落风尘
误落风尘 2020-12-07 15:49

Does anyone know what is the keyboard shortcut to clear (not toggle) the cell output in Jupyter Notebook?

6条回答
  •  Happy的楠姐
    2020-12-07 16:04

    Add following at start of cell and run it:

    from IPython.display import clear_output
    clear_output(wait=True)
    

提交回复
热议问题