I have an ipython notebook with a mixture of SVG and PNG graphs. I can export it to html without any trouble, but it embeds the images as encoded text in the body of the .html
file.
I'm calling:
ipython nbconvert --to html mynotebook.ipynb
The output at the command line includes:
[NbConvertApp] Converting notebook mynotebook.ipynb to html
[NbConvertApp] Support files will be in mynotebook_files/
but no such directory is created, and there are no files in it.
There are related posts (1 ,2 ,3 ,4 ) but they either don't fix this specific issue, or refer to the olden days when NBconvert was a separate library.
This document explains how to solve this problem on the old way of doing things too.
I've tried to use:
ipython nbconvert --config mycfg.py
With
c = get_config()
c.NbConvertApp.notebooks = ["mynotebook.ipynb"]
in the .py
file, but that's as fas as I've got.
What I'm looking for is a way to make the png files, and preferably the svg files, go into a folder. Ideally as easily as possible!