Re: [matplotlib-devel] web gui

2010-06-18 Thread william ratcliff
I would be interested in seeing the screencast. For the websocket, are you using Comet (which is what we use for our live data through the used of orbited and STOMP, so I could see being able to do interactivity, but thought it would be too slow for interactivity, which is why we went with FLOT

Re: [matplotlib-devel] web gui

2010-06-18 Thread Simon Ratcliffe
Hi William, We are using the HTML5 websocket as proposed in draft-hixie-thewebsocketprotocol-75. This is supported by Chrome 4/5 and now Safari 5. This standard is evolving and Chrome 6 onwards will be using draft-ietf-hybi-thewebsocketprotocol-00 which simplifies the syntax somewhat but does

Re: [matplotlib-devel] web gui

2010-06-18 Thread Ludwig Schwardt
Hi, On Thu, Jun 17, 2010 at 6:30 PM, Ondrej Certik ond...@certik.cz wrote: That would be exactly what I need. Do you have any time frame for the release? The problem is that I need it right now. So I'll try to finish my own stuff today, so that I can at least work and then later improve it or

Re: [matplotlib-devel] web gui

2010-06-18 Thread william ratcliff
Great! On Fri, Jun 18, 2010 at 5:43 AM, Ludwig Schwardt ludwig.schwa...@gmail.comwrote: Hi, On Thu, Jun 17, 2010 at 6:30 PM, Ondrej Certik ond...@certik.cz wrote: That would be exactly what I need. Do you have any time frame for the release? The problem is that I need it right now. So

Re: [matplotlib-devel] web gui

2010-06-17 Thread John Hunter
On Wed, Jun 16, 2010 at 6:33 PM, william ratcliff william.ratcl...@gmail.com wrote: I have a student here trying to make a webapp for data reduction.  To add interactivity, we've been using the FLOT package, and may later consider protovis.  We had thought about making a javascript backend for

Re: [matplotlib-devel] web gui

2010-06-17 Thread william ratcliff
I'll take a look--but how do you handle interaction? Does it end up having to communicate back to the server? On Thu, Jun 17, 2010 at 2:09 AM, John Hunter jdh2...@gmail.com wrote: On Wed, Jun 16, 2010 at 6:33 PM, william ratcliff william.ratcl...@gmail.com wrote: I have a student here

Re: [matplotlib-devel] web gui

2010-06-17 Thread Ludwig Schwardt
Hi, Simon Ratcliffe (the other Ratcliff :-)) and myself are working on an MPL backend that uses the HTML5 Canvas element. It is nearly done and soon to be released, once we get permission from our employer to release it under an open-source license. It does zooming and pretty good animation as

Re: [matplotlib-devel] web gui

2010-06-17 Thread Ondrej Certik
On Thu, Jun 17, 2010 at 6:57 AM, Ludwig Schwardt ludwig.schwa...@gmail.com wrote: Hi, Simon Ratcliffe (the other Ratcliff :-)) and myself are working on an MPL backend that uses the HTML5 Canvas element. It is nearly done and soon to be released, once we get permission from our employer to

Re: [matplotlib-devel] web gui

2010-06-17 Thread william ratcliff
How do you deal with interactivity? On Thu, Jun 17, 2010 at 9:57 AM, Ludwig Schwardt ludwig.schwa...@gmail.comwrote: Hi, Simon Ratcliffe (the other Ratcliff :-)) and myself are working on an MPL backend that uses the HTML5 Canvas element. It is nearly done and soon to be released, once we

Re: [matplotlib-devel] web gui

2010-06-17 Thread Ondrej Certik
Hi Andrew! On Wed, Jun 16, 2010 at 3:45 PM, Andrew Straw straw...@astraw.com wrote: Hi Ondrej, If I was in your shoes, the first thing I'd do is emit your data to plot as a json object and then plot that data using javascript with one of the libraries you've listed. Then, after gaining some

[matplotlib-devel] web gui

2010-06-16 Thread Ondrej Certik
Hi, could someone please point me to the latest status of the web gui? I am now in LLNL and I don't have a root access to my computer (running rhel5), and there is no Tk, nor Tkinter Python modules. I have installed femhub, so I have the whole python stack, but I don't have any gui. Mpl can save

Re: [matplotlib-devel] web gui

2010-06-16 Thread Eric Firing
On 06/16/2010 12:06 PM, Ondrej Certik wrote: Hi, could someone please point me to the latest status of the web gui? I am now in LLNL and I don't have a root access to my computer (running rhel5), and there is no Tk, nor Tkinter Python modules. I have installed femhub, so I have the whole

Re: [matplotlib-devel] web gui

2010-06-16 Thread Andrew Straw
Hi Ondrej, If I was in your shoes, the first thing I'd do is emit your data to plot as a json object and then plot that data using javascript with one of the libraries you've listed. Then, after gaining some familiarity with Python-json-javascript I'd think about how such an MPL backend might

Re: [matplotlib-devel] web gui

2010-06-16 Thread william ratcliff
I have a student here trying to make a webapp for data reduction. To add interactivity, we've been using the FLOT package, and may later consider protovis. We had thought about making a javascript backend for MPL, but to just get something running, we went with FLOT for the time being...We're

Re: [matplotlib-devel] web gui

2010-06-16 Thread Ondrej Certik
Hi William, On Wed, Jun 16, 2010 at 4:33 PM, william ratcliff william.ratcl...@gmail.com wrote: I have a student here trying to make a webapp for data reduction.  To add interactivity, we've been using the FLOT package, and may later consider protovis.  We had thought about making a javascript

Re: [matplotlib-devel] web gui

2010-06-16 Thread Ondrej Certik
On Wed, Jun 16, 2010 at 5:13 PM, william ratcliff william.ratcl...@gmail.com wrote: Do you want the whole code base? Well, if you can send me something to start from, that'd be awesome. I have put my initial code here: http://github.com/certik/jsplot it uses django + raphael. Now I need to

Re: [matplotlib-devel] web gui

2010-06-16 Thread Ondrej Certik
On Wed, Jun 16, 2010 at 6:01 PM, Ondrej Certik ond...@certik.cz wrote: On Wed, Jun 16, 2010 at 5:13 PM, william ratcliff william.ratcl...@gmail.com wrote: Do you want the whole code base? Well, if you can send me something to start from, that'd be awesome. I have put my initial code here:

Re: [matplotlib-devel] web gui

2010-06-16 Thread william ratcliff
www.reflectometry.org/flot/examples has some examples with zooming for flot. These seem ok for speed using firefox...How many data points? William On Wed, Jun 16, 2010 at 9:07 PM, Ondrej Certik ond...@certik.cz wrote: On Wed, Jun 16, 2010 at 6:01 PM, Ondrej Certik ond...@certik.cz wrote: