Python Forum
How to hide code Jupyter Notebook
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to hide code Jupyter Notebook

In Jupyter Notebook you can embed a web video with a code cell like:
from IPython.display import HTML

HTML('<iframe width="560" height="315" src=";controls=0&amp;showinfo=0" frameborder="0" allowfullscreen></iframe>')
However, when that is run you get the following, which is ugly:

I found what was supposed to be a solution, by adding a comment on first line:
# @hidden_cell
But it doesn't appear to work.
Does anyone know what works. I want to see the video, but not the code.

Possibly Related Threads…
Thread Author Replies Views Last Post
  It says there is no keras in jupyter notebook. it is wrong there is a keras install Led_Zeppelin 0 322 Apr-27-2021, 08:29 PM
Last Post: Led_Zeppelin
  importing matplotlib in jupyter notebook Led_Zeppelin 4 728 Feb-25-2021, 07:28 PM
Last Post: snippsat
  Jupyter Notebook cell ? flaviu2 5 937 Sep-29-2020, 11:06 AM
Last Post: flaviu2
  jupyter notebook varsh 0 501 Sep-25-2020, 08:56 AM
Last Post: varsh
  how to install pyramid.arima in jupyter notebook bntayfur 1 1,110 Aug-06-2020, 04:37 AM
Last Post: ndc85430
  Help with pie chart in Jupyter notebook Rony28 0 469 Aug-01-2020, 06:03 PM
Last Post: Rony28
  Jupyter Notebook cant start run Alex_Superb 8 1,770 Apr-03-2020, 12:39 PM
Last Post: Alex_Superb
  Hide symbol or characters in regular expression Gateux 0 754 Mar-21-2020, 10:25 AM
Last Post: Gateux
  Jupyter Notebook Dixon 1 835 Feb-12-2020, 02:52 AM
Last Post: Larz60+
  Please help: problem installing/importing langdetect module in Jupyter Notebook ledgreve 3 3,163 Dec-30-2019, 08:17 AM
Last Post: LeanbridgeTech

Forum Jump:

User Panel Messages

Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020