Re: [matplotlib-devel] web gui
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 and were planning to start adding functionality--legends, etc.), or the new proposed html5 websocket? William On Fri, Jun 18, 2010 at 3:01 AM, Ludwig Schwardt ludwig.schwa...@gmail.comwrote: Hi, On Thu, Jun 17, 2010 at 8:07 PM, william ratcliff william.ratcl...@gmail.com wrote: How do you deal with interactivity? When you create a figure, a WebSocket server is spawned on its own socket, with its own thread. The client (browser) then interacts with these threads. Zooming, panning and resizing are all done on the server side, under request from the client. This allows you the full functionality of matplotlib, as this corresponds to how other interactive backends work. The interactivity is better than expected - with local connections we achieve 40 frames per second while animating a 2000-point plot, for example. We also provide a management port, which serves as the portal for the available figures. At the start of your session, you connect the browser to this management port. Thereafter, new figures pop up as new thumbnails on this page, and can be selected for viewing. This port also provides the static HTML/JS framework for the plots. This interactivity is what makes it a true replacement for the other interactive backends. If people are interested, we can put together a screencast of the functionality. Ludwig -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] web gui
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 break our current implementation. Our websocket server is based on the pywebsocket code produced by the Chrome developers. Our first version used a persistent AJAX style connection which was pretty flaky, websockets seem to work much better and give good speed. As Ludwig mentioned we can achieve pretty good frame rates in animated plots (easy animation without local threading issues was the primary driver for developing this in the first place). Obviously it does depend somewhat on the bandwidth available between the web client and the server, but certainly for local/LAN connections everything is pretty snappy. We still have some issues to work out with plots that use large numbers of markers as there are no HTML5 primitive constructs available (as they are in SVG) to speed up drawing the same object multiple times. I will try and add a screencast to the demo page by early next week. Cheers, Simon Ratcliffe On Fri, Jun 18, 2010 at 11:10 AM, william ratcliff william.ratcl...@gmail.com wrote: 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 and were planning to start adding functionality--legends, etc.), or the new proposed html5 websocket? William On Fri, Jun 18, 2010 at 3:01 AM, Ludwig Schwardt ludwig.schwa...@gmail.com wrote: Hi, On Thu, Jun 17, 2010 at 8:07 PM, william ratcliff william.ratcl...@gmail.com wrote: How do you deal with interactivity? When you create a figure, a WebSocket server is spawned on its own socket, with its own thread. The client (browser) then interacts with these threads. Zooming, panning and resizing are all done on the server side, under request from the client. This allows you the full functionality of matplotlib, as this corresponds to how other interactive backends work. The interactivity is better than expected - with local connections we achieve 40 frames per second while animating a 2000-point plot, for example. We also provide a management port, which serves as the portal for the available figures. At the start of your session, you connect the browser to this management port. Thereafter, new figures pop up as new thumbnails on this page, and can be selected for viewing. This port also provides the static HTML/JS framework for the plots. This interactivity is what makes it a true replacement for the other interactive backends. If people are interested, we can put together a screencast of the functionality. Ludwig -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] web gui
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 switch to your stuff. We have the go-ahead to release the HTML5 Canvas backend and will get it out by Monday. Testers will be welcome! Ludwig -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] web gui
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 I'll try to finish my own stuff today, so that I can at least work and then later improve it or switch to your stuff. We have the go-ahead to release the HTML5 Canvas backend and will get it out by Monday. Testers will be welcome! Ludwig -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] web gui
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 MPL, but to just get something running, we went with FLOT for the time being...We're using EXTJS as the web framework (it's a bit heavy, but has a rich widget toolkit and documentation). We use Django on the backend and Orbited to deal with some communications between the browser and the server (for example if we get new data from an instrument and want to update it on the server and update plots that are viewing that data..). Over the next couple of weeks (with the arrival of another student), we will be working more with the plotting aspect of the project (adding legends, zooming, etc). Also, for other parts of the app, we're just using the HTML5 canvas...I'd be happy to work on making the plotting addons as generic as possible so they can be used outside of our problem domain. What I'm not sure is whether one wants to truly use MPL as a backend, or rather to use the MPL philosophy of a javascript package. If anyone is interested in working on an html5 backend, we have a prototype here thanks to a GSOC applicant from last year http://bitbucket.org/sanxiyn/matplotlib-canvas/ JDH -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] web gui
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 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 using EXTJS as the web framework (it's a bit heavy, but has a rich widget toolkit and documentation). We use Django on the backend and Orbited to deal with some communications between the browser and the server (for example if we get new data from an instrument and want to update it on the server and update plots that are viewing that data..). Over the next couple of weeks (with the arrival of another student), we will be working more with the plotting aspect of the project (adding legends, zooming, etc). Also, for other parts of the app, we're just using the HTML5 canvas...I'd be happy to work on making the plotting addons as generic as possible so they can be used outside of our problem domain. What I'm not sure is whether one wants to truly use MPL as a backend, or rather to use the MPL philosophy of a javascript package. If anyone is interested in working on an html5 backend, we have a prototype here thanks to a GSOC applicant from last year http://bitbucket.org/sanxiyn/matplotlib-canvas/ JDH -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] web gui
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 well. It also has no additional dependencies except for Matplotlib and currently runs on the latest HTML5-compliant browsers (Chrome 4+, Safari 5, IE9 when released, Firefox nightlies). Some idea of its functionality can be seen at http://genotrak.webfactional.com/mplh5canvas/. We will keep the list updated on its progress. Regards, Ludwig Schwardt -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] web gui
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 release it under an open-source license. It does zooming and pretty good animation as well. It also has no additional dependencies except for Matplotlib and currently runs on the latest HTML5-compliant browsers (Chrome 4+, Safari 5, IE9 when released, Firefox nightlies). Some idea of its functionality can be seen at http://genotrak.webfactional.com/mplh5canvas/. We will keep the list updated on its progress. 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 switch to your stuff. Ondrej -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] web gui
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 get permission from our employer to release it under an open-source license. It does zooming and pretty good animation as well. It also has no additional dependencies except for Matplotlib and currently runs on the latest HTML5-compliant browsers (Chrome 4+, Safari 5, IE9 when released, Firefox nightlies). Some idea of its functionality can be seen at http://genotrak.webfactional.com/mplh5canvas/. We will keep the list updated on its progress. Regards, Ludwig Schwardt -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] web gui
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 familiarity with Thanks for the encouraging email. So I have code up a simple prototype, using exactly the approach you suggested. Examples + screenshot available at: http://github.com/certik/jsplot (just scroll down with your browser, github nicely renders the README.rst). Python-json-javascript I'd think about how such an MPL backend might work. A usecase I could imagine is some Django app that uses MPL to plot stuff into a javascript canvas element complete with zooming and so on. Yes, I use django and instead of mpl, I use the flotr library, that does zooming+plotting automatically. I think there are a lot of open questions in this domain... For example, presumably one doesn't want the server involved when the client browser zooms. But then if you implement something that allows the client browser to zoom without the server MPL process, you're no longer using the normal MPL callback system. So, interactivity would probably be Yes, in fact, I am not using MPL at all. different than in the traditional backends. You could also start with the svg backend, as browsers do render svg. I wonder what to do now. I think I'll just emulate the MPL api, that's easy. Anyway, I can work finally. Thanks for the help! Ondrej -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] web gui
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 figures to a file, so at least something. But I am missing the zoom feature. I found the following cool libraries: http://www.sencha.com/ http://raphaeljs.com/ http://g.raphaeljs.com/ that work perfectly in my browser (FF3). So I wondered how hard it would be to use them as an mpl backend? All I need, I think, is just simple plotting, and zoom (+pan). I could adapt for example: lib/matplotlib/backends/backend_tkagg.py but it seems quite involved. Is there some simple thing, that would just work for me, that I could start adapting for the web gui? I would imagine that show() would launch a web server and tell the user to go to localhost:8080 or something and then the gui would be in the browser. The browser can even be opened automatically. Ondrej -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] web gui
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 python stack, but I don't have any gui. Mpl can save figures to a file, so at least something. But I am missing the zoom feature. I found the following cool libraries: http://www.sencha.com/ http://raphaeljs.com/ http://g.raphaeljs.com/ that work perfectly in my browser (FF3). So I wondered how hard it would be to use them as an mpl backend? All I need, I think, is just simple plotting, and zoom (+pan). I doubt that you could make zoom/pan fast while going through a web interface, without substantial changes to mpl. As an alternative, can you install gtk and pygtk from tarballs, in locations you control? I haven't tried it, so I have no idea how painful it would be; but if it works, you would have a fully-functional mpl. Actually, on RH, I'm sure the gtk libraries are already there, so it would be a question of whether the -devel rpms are also installed. If so, all you need would be pygtk, and that should be easy. I presume you have already tried to get IT support to install things like pygtk. Eric I could adapt for example: lib/matplotlib/backends/backend_tkagg.py but it seems quite involved. Is there some simple thing, that would just work for me, that I could start adapting for the web gui? I would imagine that show() would launch a web server and tell the user to go to localhost:8080 or something and then the gui would be in the browser. The browser can even be opened automatically. Ondrej -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] web gui
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 work. A usecase I could imagine is some Django app that uses MPL to plot stuff into a javascript canvas element complete with zooming and so on. I think there are a lot of open questions in this domain... For example, presumably one doesn't want the server involved when the client browser zooms. But then if you implement something that allows the client browser to zoom without the server MPL process, you're no longer using the normal MPL callback system. So, interactivity would probably be different than in the traditional backends. You could also start with the svg backend, as browsers do render svg. -Andrew 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 python stack, but I don't have any gui. Mpl can save figures to a file, so at least something. But I am missing the zoom feature. I found the following cool libraries: http://www.sencha.com/ http://raphaeljs.com/ http://g.raphaeljs.com/ that work perfectly in my browser (FF3). So I wondered how hard it would be to use them as an mpl backend? All I need, I think, is just simple plotting, and zoom (+pan). I could adapt for example: lib/matplotlib/backends/backend_tkagg.py but it seems quite involved. Is there some simple thing, that would just work for me, that I could start adapting for the web gui? I would imagine that show() would launch a web server and tell the user to go to localhost:8080 or something and then the gui would be in the browser. The browser can even be opened automatically. Ondrej -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] web gui
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 using EXTJS as the web framework (it's a bit heavy, but has a rich widget toolkit and documentation). We use Django on the backend and Orbited to deal with some communications between the browser and the server (for example if we get new data from an instrument and want to update it on the server and update plots that are viewing that data..). Over the next couple of weeks (with the arrival of another student), we will be working more with the plotting aspect of the project (adding legends, zooming, etc). Also, for other parts of the app, we're just using the HTML5 canvas...I'd be happy to work on making the plotting addons as generic as possible so they can be used outside of our problem domain. What I'm not sure is whether one wants to truly use MPL as a backend, or rather to use the MPL philosophy of a javascript package. Cheers, William On Wed, Jun 16, 2010 at 6: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 familiarity with Python-json-javascript I'd think about how such an MPL backend might work. A usecase I could imagine is some Django app that uses MPL to plot stuff into a javascript canvas element complete with zooming and so on. I think there are a lot of open questions in this domain... For example, presumably one doesn't want the server involved when the client browser zooms. But then if you implement something that allows the client browser to zoom without the server MPL process, you're no longer using the normal MPL callback system. So, interactivity would probably be different than in the traditional backends. You could also start with the svg backend, as browsers do render svg. -Andrew 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 python stack, but I don't have any gui. Mpl can save figures to a file, so at least something. But I am missing the zoom feature. I found the following cool libraries: http://www.sencha.com/ http://raphaeljs.com/ http://g.raphaeljs.com/ that work perfectly in my browser (FF3). So I wondered how hard it would be to use them as an mpl backend? All I need, I think, is just simple plotting, and zoom (+pan). I could adapt for example: lib/matplotlib/backends/backend_tkagg.py but it seems quite involved. Is there some simple thing, that would just work for me, that I could start adapting for the web gui? I would imagine that show() would launch a web server and tell the user to go to localhost:8080 or something and then the gui would be in the browser. The browser can even be opened automatically. Ondrej -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] web gui
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 backend for MPL, but to just get something running, we went with FLOT for the time being...We're using EXTJS as the web framework (it's a bit heavy, but has a rich widget toolkit and documentation). We use Django on the backend and Orbited to deal with some communications between the browser and the server (for example if we get new data from an instrument and want to update it on the server and update plots that are viewing that data..). Over the next couple of weeks (with the arrival of another student), we will be working more with the plotting aspect of the project (adding legends, zooming, etc). Also, for other parts of the app, we're just using the HTML5 canvas...I'd be happy to work on making the plotting addons as generic as possible so they can be used outside of our problem domain. What I'm not sure is whether one wants to truly use MPL as a backend, or rather to use the MPL philosophy of a javascript package. That would be exactly what I could reuse. Is the code available as opensource somewhere? Ondrej -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] web gui
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 write a simple MPL like api, and also implement zoom somehow. I think I'll make it work for my purposes soon hopefully. Ondrej -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] web gui
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: http://github.com/certik/jsplot it uses django + raphael. Now I need to write a simple MPL like api, and also implement zoom somehow. I think I'll make it work for my purposes soon hopefully. These guys already implemented zoom in the flotr library: http://phenxdesign.net/projects/flotr/examples/prototype/mouse-zoom-preview.html So maybe I'll just use that. In FF3 it's terribly slow though... Ondrej -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] web gui
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: 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 write a simple MPL like api, and also implement zoom somehow. I think I'll make it work for my purposes soon hopefully. These guys already implemented zoom in the flotr library: http://phenxdesign.net/projects/flotr/examples/prototype/mouse-zoom-preview.html So maybe I'll just use that. In FF3 it's terribly slow though... Ondrej -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel