[IPython-dev] Creating a Mathemtica notebook like GTK Interface?for sympy
Thu Apr 3 14:20:57 CDT 2008
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.
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.
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).
On Thu, Apr 3, 2008 at 11:08 AM, Gael Varoquaux <
> On Thu, Apr 03, 2008 at 05:47:48PM +0000, Philipp Strack wrote:
> > Do you know whether there is anywork done inside ipython to visualize
> > python objects inside the Textview (of e.g. the gtk example)? Does
> > something like this make sense (as it probably breakes compatibility
> > between the terminals)? Would such a feature have a place inside
> > ipython?
> Not directly inside ipython, I think, but we discussed passing around
> objects that could have a repr_wx method, that would be called by
> the wx frontend to represent them. You could have a hierachy of methods
> to represent an object, with the string method < unicode method < raster
> picture method < vector picture method < gui/web front-end specific
> This is of course currently just vapor ware, and needs more thinking.
> And this could only work with ipython1. There is a embryo of wx front end
> in ipython1 that you can see on:
> ). All this is not terribly advanced though, and does not make use of
> Min's notebook features. Maybe you should ping Min about them, I am not
> sure he is following the discussion, and he is the one who thought about
> this most.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev