Disable interactive plots for PDF.

nbconvert cannot output interactive plots to PDF. I wrote code
to remove all of the %matplotlib notebook magic, rerun the notebooks,
and then create the PDF.
This commit is contained in:
Roger Labbe
2017-01-14 13:15:24 -08:00
parent e2405b23d5
commit 8463014958
12 changed files with 1234 additions and 1869 deletions

10
pdf/run_notebooks.bat Normal file
View File

@@ -0,0 +1,10 @@
mkdir tmp
REM copy ..\*.ipynb .\tmp
REM copy ..\*.py .\tmp
REM cp -r ..\code\ .\tmp\code\
cd tmp
REM forfiles /m *.ipynb /c "cmd /c ipython ..\rm_notebook.py @file"
REM forfiles /m *.ipynb /c "cmd /c jupyter nbconvert --to notebook --execute @file --output @file"