Most of the notebook stuff we have focuses on metadata management, persistence, and collaboration using the database system. There is a rudimentary ajax front end to this called ipnotebook. The notebook does not yet have any notion of images, the only data it stores is stdin/out/err, along with some additional metadata.<br>
<br>At Sage Days 8 we discussed ideas for a show() method, which would be UI and connection dependent for what it would actually do (much of our difficulty comes from the fact that we need to use show() on a remote engine, and have it appear on the client). But we have not produced any code for this.<br>
<br>I would recommend using our notebook stuff as the basis of your data structure/file format, but any visualization work you do would not be redundant (and would be super cool).<br><br>-Min RK<br><br><div class="gmail_quote">
On Thu, Apr 3, 2008 at 11:08 AM, Gael Varoquaux <<a href="mailto:gael.varoquaux@normalesup.org">gael.varoquaux@normalesup.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Apr 03, 2008 at 05:47:48PM +0000, Philipp Strack wrote:<br>
> Do you know whether there is anywork done inside ipython to visualize<br>
> python objects inside the Textview (of e.g. the gtk example)? Does<br>
> something like this make sense (as it probably breakes compatibility<br>
> between the terminals)? Would such a feature have a place inside<br>
> ipython?<br>
<br>
Not directly inside ipython, I think, but we discussed passing around<br>
objects that could have a repr_wx method, that would be called by<br>
the wx frontend to represent them. You could have a hierachy of methods<br>
to represent an object, with the string method < unicode method < raster<br>
picture method < vector picture method < gui/web front-end specific<br>
method.<br>
<br>
This is of course currently just vapor ware, and needs more thinking.<br>
<br>
And this could only work with ipython1. There is a embryo of wx front end<br>
in ipython1 that you can see on:<br>
<a href="http://bazaar.launchpad.net/%7Eipython/ipython/ipython1-dev/files/gael.varoquaux%40normalesup.org-20080326023356-xm3yc935ky5q3zq8?file_id=wx-20080302203151-17poomviavsf2zjj-109" target="_blank">http://bazaar.launchpad.net/~ipython/ipython/ipython1-dev/files/gael.varoquaux%40normalesup.org-20080326023356-xm3yc935ky5q3zq8?file_id=wx-20080302203151-17poomviavsf2zjj-109</a><br>
). All this is not terribly advanced though, and does not make use of<br>
Min's notebook features. Maybe you should ping Min about them, I am not<br>
sure he is following the discussion, and he is the one who thought about<br>
this most.<br>
</blockquote></div><br>