[IPython-User] [qtconsole] saving xhtml and svg
Sun Oct 23 13:16:02 CDT 2011
The default figure format is PNG, which doesn't export to svg+xhtml. You
must be using SVG figures for inline plotting for that export to work:
In your ipython_qtconsole_config.py:
c.InlineBackendConfig.figure_format = 'svg'
or at runtime:
from IPython.zmq.pylab.backend_inline import InlineBackendConfig
InlineBackendConfig.instance().figure_format = 'svg'
which will affect all figures created after this point.
We have #735 <https://www.github.com/ipython/ipython/issues/735> open on
GitHub for a clearer message.
On Sat, Oct 22, 2011 at 12:06, K.-Michael Aye <firstname.lastname@example.org>wrote:
> I'm running EPD 7.1-2 with 0.11 and when I try to save the session via
> xhtml and svgs the xhtml file says at the points where the graphics
> should be:
> Could'nt find image <long number>.
> I started the qtconsole like this:
> ipython qtconsole --pylab=inline
> and have the WXAgg backend active in .matplotlib/matplotlibrc
> Best regards,
> IPython-User mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User