Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-03 Thread Nicolas Rougier
Sure, thread about IPython integration to be continued on ipython-dev list... Nicolas On 3 Apr, 2009, at 19:07 , Fernando Perez wrote: > On Fri, Apr 3, 2009 at 10:00 AM, Nicolas Rougier > wrote: >> >> >> Sorry for that, I coded it on linux and just tested on mac. >> I fixed the error and upl

Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-03 Thread Fernando Perez
On Fri, Apr 3, 2009 at 10:00 AM, Nicolas Rougier wrote: > > > Sorry for that, I coded it on linux and just tested on mac. > I fixed the error and upload the new version on the same link. Tell me if > it's ok. Great! Would you have any interest in having this be shipped/developed as part of IPyth

Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-03 Thread Nicolas Rougier
Sorry for that, I coded it on linux and just tested on mac. I fixed the error and upload the new version on the same link. Tell me if it's ok. Nicolas On 3 Apr, 2009, at 18:55 , Fernando Perez wrote: > On Fri, Apr 3, 2009 at 4:17 AM, Nicolas Rougier > wrote: >> >> Hello, >> >> While lookin

Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-03 Thread Fernando Perez
On Fri, Apr 3, 2009 at 4:17 AM, Nicolas Rougier wrote: > > Hello, > > While looking at possible solutions for a matplotlib OpenGL backend, > I've been experimenting with pyglet (that has no dependencies) and coded > a terminal with embedded 2d arrays display. > > Sources & screenshots are availabl

Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-03 Thread Nicolas Rougier
Hi, I agree, shell with inline plot is a different issue. I mainly coded it as a proof a concept and because I find it useful for my own needs. The figure call is quite different from the figure call of matplotlib, only the name is common. The idea was to be able to describe a configuration

Re: [matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-03 Thread Eric Bruning
The idea of a shell with inline plots is a fascinating one - I like the minimalism and directness of being able to plot data like this. And the speed of OpenGL is obviously attractive. Is the figure() call syntax different from the existing syntax for figure()? I think there's a usage pattern ingr

[matplotlib-devel] OpenGL backend and pyglet expertiments

2009-04-03 Thread Nicolas Rougier
Hello, While looking at possible solutions for a matplotlib OpenGL backend, I've been experimenting with pyglet (that has no dependencies) and coded a terminal with embedded 2d arrays display. Sources & screenshots are available at: http://www.loria.fr/~rougier/glnumpy.html Since pyglet seems m