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 function to remain executed and callable, yet I want to hide / collapse the cell in order to better visualize the notebook. How can I do this?
The hide_code extension allows you to hide individual cells, and/or the prompts next to them. Install as
Visit https://github.com/kirbs-/hide_code/ for more info about this extension.
Firstly, follow Energya's instruction:
Second is the key: After opening jupiter notebook, click the Nbextension tab. Now Search "colla" from the searching tool provided by Nbextension(not by the web browser), then you will find something called "Collapsible Headings"
This is what you want!