A simple and surprisingly good solution is to print the notebook to pdf through the browser with ctrl+p
. Just make sure your plots and figures are not on interactive mode otherwise they will not be displayed (set them to %matplotlib inline
).
Exporting jupyter notebooks through latex is quite troublesome and takes a lot of tinkering to get something remotely close to publish ready. When I absolutely need publication quality I do it on a latex editor, but this tutorial goes in great length about doing it on jupyter.
A few useful tips to get better results:
- Higher resolution plots
- Hide your code-cells from the pdf
- Take a look at these extensions to improve your jupyter documents