So I've developed a number of R Jupyter Notebooks. When viewing in a browser, these notebooks look great. However, I have recently adjust my workflow to execute and convert these notebooks to pdfs at the command line. I set a few environment variables to pass parameters into the notebook and execute / convert it with the command ...
jupyter nbconvert --to pdf --execute --output output.pdf -- ExecutePreprocessor.timeout=600 input.ipynb The problem that I am seeing is that when a data frame or matix is viewed, the notebook displays the data type and size above it, while the pdf displays this information to the left of it. Having this information to the left pushes much of the data frame off the right of the page. This happens regardless of whether I show the whole data frame or just head. I've tried explicitly printing, messaging, displaying all without success. I'd like the pdf output to be more true to the notebook or html formatted output. Does anyone know how I could manipulate this? Either not displaying the data type and size at all, or displaying it above the table rather than to the left of it? TIA -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/415fec15-da2e-4439-8464-f3be286aff5c%40googlegroups.com.
