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:
Roger Labbe
2017-01-18 12:23:06 -08:00
parent 91e9e08377
commit c97186c8b4
4 changed files with 29 additions and 14 deletions

View File

@@ -14,3 +14,4 @@ rm --f chapter.pdf
rmdir /S /Q book_files
rmdir /S /Q chapter_files
rmdir /S /Q tmp