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

How would be the best approach to hide a cell output? #3318

Closed
robli314 opened this issue Feb 8, 2018 · 4 comments
Closed

How would be the best approach to hide a cell output? #3318

robli314 opened this issue Feb 8, 2018 · 4 comments

Comments

@robli314
Copy link

robli314 commented Feb 8, 2018

Hi,

I have a cell that outputs a json object, however, I would like to hide this output as this is used only when read the notebook file and also would not like to show that to the user. What would be the best approach to hide this output after running the cell?

@danagilliann
Copy link
Contributor

I don't think this is possible. You could collapse and shorten the cell's output by pressing the left side of the output, and you can also rearrange the order of the cells to put this output at the bottom. You can could also just delete the cell, but have the command present. Hope this helps!

@takluyver
Copy link
Member

What are you trying to do with it when you read the notebook file?

@karanj1
Copy link

karanj1 commented Oct 9, 2018

# to hide output of this cell
%%capture

> # Install tools needed for visualization
!apt-get install python3-pydot graphviz

@lenka-cizkova
Copy link

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants