Just want to leave the Markdown and chart, add the following code to jupyter Notebook:
import IPython.core.display as di di.display_html('<script>jQuery(function() {if (jQuery("body.notebook_app").length == 0) { jQuery(".input_area").toggle(); jQuery(".prompt").toggle(); }}); < / script > ', raw = True)Copy the code
Hello. Jupyter inside there is a commonly used plug-in can be directly hidden code to preserve the output results.