I was hoping some heavy Jupyter and bokeh users might have a workaround for this. So I have a bunch of bokeh
plots in my Jupyter notebook and I want to export the notebook to pdf
. In the Jupyter Notebook file menu there is an option to download a notebook as a pdf
. Also--and my preferred route--is to use nbconvert.
The problem is that the bokeh
plots are not exported into the final pdf
file. Bokeh
does not export its plots to a format that is caught by Latex
to compile the pdf. In constrast, a package like matplotlib
will generate png files for each plot, and then those plots are linked in the latex to generate the pdf.
Right now when I export the notebook, all of the text comes out in the pdf but none of the plots come through. The plots come in if I export to an html file--but of course the plots spill off the page if I try and print the document.
Has anyone found a decent workaround for this? The users I work with still want to be able to print out documents and mark them up.