@hamelsmu I thought I’d use some code to generate an Altair plot to illustrate a point for a new blog post, but I didn’t want to show the code because it wasn’t important, it was just there to ‘draw a picture’ for the illustration.
So I put #hide
at the top of the code cell.
…And you probably know what happened: it hid both the code and the output plot. (I wasn’t expecting that.)
Is there any way to get it to show the output graph while hiding the code?
Thanks.
EDIT: it looks like #collapse-hide
will leave the plot visibile but collapse the code. This is an acceptable ‘workaround’ as far as I’m concerned. If that’s the only way to do this, fine. But in case there’s a way to totally hide the code while leaving the plot, let me know!