[IPython-User] [qtconsole] saving xhtml and svg
MinRK
benjaminrk@gmail....
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 <kmichael.aye@gmail.com>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,
> Michael
>
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20111023/8baa61fa/attachment.html
More information about the IPython-User
mailing list