Re: [matplotlib-devel] HTML5 Matplotlib Backend

2011-06-13 Thread Brian Refsdal
On 06/13/2011 10:07 AM, Simon Ratcliffe wrote: > Hey Mike, > > Thanks for your informative assessment of Canvas vs SVG. Indeed it > encapsulates much of the thinking and horse trading > done when we decided on Canvas as a delivery technology for mplh5canvas. > > I particularly agree with you that s

Re: [matplotlib-devel] HTML5 Matplotlib Backend

2011-06-13 Thread Michael Droettboom
On 06/13/2011 10:07 AM, Simon Ratcliffe wrote: > Hey Mike, > > Thanks for your informative assessment of Canvas vs SVG. Indeed it > encapsulates much of the thinking and horse trading > done when we decided on Canvas as a delivery technology for mplh5canvas. > > For us the plus points for Canvas ca

Re: [matplotlib-devel] HTML5 Matplotlib Backend

2011-06-13 Thread Simon Ratcliffe
Hey Mike, Thanks for your informative assessment of Canvas vs SVG. Indeed it encapsulates much of the thinking and horse trading done when we decided on Canvas as a delivery technology for mplh5canvas. I particularly agree with you that sending smaller encapsulated updates is less bandwidth inten

Re: [matplotlib-devel] HTML5 Matplotlib Backend

2011-06-13 Thread Michael Droettboom
On 06/06/2011 02:06 PM, Brian Refsdal wrote: > Hello, > > I've been following the updates to mplh5canvas for some time now, since > its debut at SciPy 2010. I am interested in working to extend > mplh5canvas into a cloud-based web service as a thesis project. I have > not found anybody whose is c

Re: [matplotlib-devel] HTML5 Matplotlib Backend

2011-06-06 Thread Brian Refsdal
Hello, I've been following the updates to mplh5canvas for some time now, since its debut at SciPy 2010. I am interested in working to extend mplh5canvas into a cloud-based web service as a thesis project. I have not found anybody whose is currently working on this path. Are there any active

Re: [matplotlib-devel] HTML5 Matplotlib Backend

2010-07-19 Thread Nathaniel Smith
On Fri, Jul 16, 2010 at 10:21 AM, Ryan Wagner wrote: > (Michael Droettboom) > >>> The display at the bottom that says "Cursor at: X, Y" is in pixels, not >>> in > >>> data units. ?It would be great if this could display data units, though > >>> being general enough to support custom scales (eg. lo

Re: [matplotlib-devel] HTML5 Matplotlib Backend

2010-07-08 Thread Simon Ratcliffe
Hey Mike, > Instead, it would make more sense to make use of the clipping > algorithm already in matplotlib (and implemented in fast C++) that will > actually splice the line segments at the boundary.  I've attached a patch > for this. Good call. Our main clipping issue that still needs to be res

Re: [matplotlib-devel] HTML5 Matplotlib Backend

2010-07-07 Thread Michael Droettboom
Finally had some time to play with this in detail. First, it's very cool, and thanks for doing all this work. I noticed a few things: The path-clipping approach that simply removes negative-valued vertices doesn't always work, particularly if a line segment begins in the negative and ends up

Re: [matplotlib-devel] HTML5 Matplotlib Backend

2010-07-07 Thread Simon Ratcliffe
I have checked in your patch, thanks for the suggestion... matplotlib 1.0.0 seemed such a distant dream a couple of months back, which led to the simplistic version check :) Cheers, Simon On Wed, Jul 7, 2010 at 3:36 PM, Michael Droettboom wrote: > The matplotlib version check seems to fail wit

Re: [matplotlib-devel] HTML5 Matplotlib Backend

2010-07-07 Thread Michael Droettboom
The matplotlib version check seems to fail with matplotlib 1.0.0. Would you consider applying the attached patch? Mike On 06/21/2010 09:19 AM, Simon Ratcliffe wrote: Hello, Our HTML5 based matplotlib backend is now available at: http://code.google.com/p/mplh5canvas/ There are some basic in

Re: [matplotlib-devel] HTML5 Matplotlib Backend

2010-07-07 Thread Michael Droettboom
On 07/06/2010 07:49 PM, Ondrej Certik wrote: > On Mon, Jun 21, 2010 at 7:51 AM, william ratcliff > wrote: > >> I just tested it and it's very cool! It works fairly quickly locally. It >> seems to work for Safari 5 and Chrome beta. Firefox 3.6.3 is a no show. I >> haven't tried Opera. Wh

Re: [matplotlib-devel] HTML5 Matplotlib Backend

2010-07-06 Thread Ondrej Certik
On Mon, Jun 21, 2010 at 7:51 AM, william ratcliff wrote: > I just tested it and it's very cool!  It works fairly quickly locally.  It > seems to work for Safari 5 and Chrome beta.  Firefox 3.6.3 is a no show.  I > haven't tried Opera.   What I'm really curious about is what is the latency > like o

Re: [matplotlib-devel] HTML5 Matplotlib Backend

2010-06-21 Thread william ratcliff
I just tested it and it's very cool! It works fairly quickly locally. It seems to work for Safari 5 and Chrome beta. Firefox 3.6.3 is a no show. I haven't tried Opera. What I'm really curious about is what is the latency like over the actual internet, or under higher server loads (given the r

Re: [matplotlib-devel] HTML5 Matplotlib Backend

2010-06-21 Thread Simon Ratcliffe
Hello, Our HTML5 based matplotlib backend is now available at: http://code.google.com/p/mplh5canvas/ There are some basic installation instructions and included examples to get going. Keep in mind that the weakest link at this stage is browser support. We recommend Chrome for the most hassle fr