Fixed PDF generation re %matplotlib magic
Fixed the scripts that comment out the matplotlib magic. It was commenting out all of the magics - the first one, and ones in markdown cells. It should only comment out the ones in code cells, and leave the first one.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
mkdir tmp
|
||||
REM copy ..\*.ipynb .\tmp
|
||||
REM copy ..\*.py .\tmp
|
||||
REM cp -r ..\code\ .\tmp\code\
|
||||
copy ..\*.ipynb .\tmp
|
||||
copy ..\*.py .\tmp
|
||||
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"
|
||||
forfiles /m *.ipynb /c "cmd /c ipython ..\rm_notebook.py @file"
|
||||
forfiles /m *.ipynb /c "cmd /c jupyter nbconvert --to notebook --execute @file --output @file"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user