Hi Jeff,

On Mon, Sep 6, 2010 at 6:27 AM, Jeff Whitaker <jsw...@fastmail.fm> wrote:
> Fernando: Got it, thanks.  Sounds reasonable to me.  Just playing with it a
> bit, one thing I found myself looking for was a way to save the entire
> session (inline figures included) to html.
>

Of course! When is the patch coming? ;)

Yes, that will be the obvious first thing everybody will want.  And it
shouldn't be too hard to write, either.  In fact, if we store the svg
payloads in a dict keyed by input line number kernel-side, it would be
pretty easy to write a little function that will take a session and
will generate a reST document with figures and all, with .. image::
directives.

BTW, in my branch (fperez/newkernel) it's already working with inline
figures not needing a show() call at all, and a 'paste()' function to
paste any figure inline if you use one of the gui backends.  We should
have it merged in a day or two.

Cheers,

f

ps - tip: Ctrl-. restarts the kernel, and Ctrl-L clears the screen.
So it's quick to get a fresh state, but keeping all your input history
you've been typing client-side unmodified.  We're starting to get the
benefits of the two-process model...

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to