I have this code: from IPython.display import Image
img = ‘vizual.png’
Image(filename=img)
I want to hide it, so when I export to HTML only image will appear and code will be invisible.
Thanks for help !
I have this code: from IPython.display import Image
img = ‘vizual.png’
Image(filename=img)
I want to hide it, so when I export to HTML only image will appear and code will be invisible.
Thanks for help !
I think voila can help you achieve what you need. They create standalone applications from notebooks by hiding all the code.
Nbconvert supports removing pieces of cells using tags:
https://nbconvert.readthedocs.io/en/latest/removing_cells.html