Hi Krishna, I think Boken produces plots as HTML, which we can't convert to Latex. There may be a way to include a PNG copy of them which will work for the PDF conversion, but I don't know enough about Bokeh to know if that's possible or how you'd do it.
Thomas On 23 May 2017 at 23:16, Krishna Bhogaonker <[email protected]> wrote: > Hey Folks. > > I was hoping someone could shed some light on this issue. I cannot seem to > get jupyter notebook to export a pdf with bokeh plots. I have a notebook in > jupyter 4.3.0. When I use the usual nbconvert command, `jupyter nbconvert > -to pdf notebook.ipynb --output notebook.pdf`. The notebook seems to > compile properly and gives the right messages as such: > > [NbConvertApp] Converting notebook notebook.ipynb to pdf > [NbConvertApp] Writing 350653 bytes to notebook.tex > [NbConvertApp] Building PDF > [NbConvertApp] Running pdflatex 3 times: ['pdflatex', 'notebook.tex'] > [NbConvertApp] Running bibtex 1 time: ['bibtex', 'notebook'] > [NbConvertApp] WARNING | bibtex had problems, most likely because there were > no citations > [NbConvertApp] PDF successfully created > [NbConvertApp] Writing 208111 bytes to notebook.pdf > > > I am using bokeh 12.5 and nbconvert 4.2. > > > But for some reason none of my plots come out. I have markdown text and code > in the notebook, both of which are > > exported just fine. Has anyone else had the same trouble? Are there any steps > I am missing? Or do I need to export > > latex first and compile manually? > > Krishna > > > > -- > You received this message because you are subscribed to the Google Groups > "Project Jupyter" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jupyter/19b88c75-9863-4096-b5fb-290647b8b7bd%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/19b88c75-9863-4096-b5fb-290647b8b7bd%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAOvn4qgBJRjruELVQEg%2BfytU3ZeXcHdKJxHFqH462LjoxfwrgQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
