I use version 1.38 of VSCode in combination with the python extension (ms-python.python) to be able to modify jupyter notebooks inside of VSCode. Is there any option to hide the output of specific cells (e.g. when plotting multiple plots in one cell)?
Hide cell inputs If you add the tag hide-input to a cell, then Jupyter Book will hide the cell but display the outputs.
the last line of the cell, use a command like %%hide output , and the output would be hidden after finished running.
When you have Jupyter notebook opened, you can do this by selecting the Cell -> All Output -> Clear menu item.
To collapse the heading, use the triangle on the left of the markdown cell.
Bumped into the same problem today. It seems to be that the shortcuts from jupyter notebook are integrated into the jupyter notebook in visual studio code. If you press "o" on a cell, it will hide the cell output.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With