notebook
notebook copied to clipboard
`o` no longer toggles showing/hiding the output of a cell
ono longer toggles showing/hiding the output of a cell, and I don't see any way to add this
Originally filed by @jph00 in #7041, referring to a regression from Jupyter Notebook 6 to 7.
In nbclassic, based on Notebook 6, the o command takes a cell with output:
… and collapses the output:
Maybe there could be a new command in JupyterLab for toggling the cell output, similar to the existing ones for collapsing and expanding the outputs:
That way the command would also be available in Notebook 7, and could be associated with a keyboard shortcut.
https://github.com/jupyterlab/jupyterlab/pull/16833 is now merged into JupyterLab's codebase. When this is released, likely as part of JupyterLab 4.3.0, we can update Jupyter Notebook's dependency and add a default o shortcut bound to the new command, notebook:toggle-cell-outputs.
Thanks @JasonWeill for working on this!