Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

o no longer toggles showing/hiding the output of a cell #7366

Open
JasonWeill opened this issue May 13, 2024 · 4 comments
Open

o no longer toggles showing/hiding the output of a cell #7366

JasonWeill opened this issue May 13, 2024 · 4 comments

Comments

@JasonWeill
Copy link
Collaborator

o no 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.

@JasonWeill
Copy link
Collaborator Author

In nbclassic, based on Notebook 6, the o command takes a cell with output:

image

… and collapses the output:

image

@jtpio
Copy link
Member

jtpio commented May 30, 2024

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:

image

That way the command would also be available in Notebook 7, and could be associated with a keyboard shortcut.

@JasonWeill
Copy link
Collaborator Author

jupyterlab/jupyterlab#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.

@jtpio
Copy link
Member

jtpio commented Oct 7, 2024

Thanks @JasonWeill for working on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants