Print Preview menu in the classical JupyterĬan I hide parts from the print preview or make a PDF with another tool? Hiding input/output in cells can be realized by setting the cell's metadata hide_input=true and installing a nbextension as discussed in issue #155. It usually comes together with Jupyter and can be invoked conveniently in the menu of JupyterLab File->Export Notebook As.->PDF or, in the classic Jupyter Notebook interface, File->Download as->PDF (via LaTeX). If you aim at a native conversion from ipynb format to pdf, the nice old nbconvert tool is your friend. I've tested it on FireFox and expect similar result on Chrome or Edge. After hiding, you can use the browser's printing menu to generate a PDF. ![]() In JupyterLab, you can hide the cell's input and output by clicking the side bar as demonstrated in the doc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |