On Thu, Oct 11, 2012 at 10:49 PM, Michael Droettboom <md...@stsci.edu> wrote: > I have a proof-of-concept way to make interactive plots in the browser work > using transparent PNGs described here: > > http://mdboom.github.com/blog/2012/10/11/matplotlib-in-the-browser-its-coming/ > > No PRs yet, because this is miles from ready for that, but it would be > helpful to get some feedback about how this works in different > browsers/platforms/network environments etc.
As a bit of spiritual support for the underlying concept, I mostly use matplotlib via exactly this mechanism, today. Except I didn't want to modify matplotlib, so my solution is a bit more elaborate: http://xpra.org/ There's an astonishing amount of nonsense involved in setting up a headless X server, registering as a window manager and compositing manager, fighting with the X keyboard model, etc., but at the end of the day it just works by shipping PNG-style compressed screenshots over the wire in one direction, and input events over the wire in the other. Perhaps surprisingly, the result is dramatically more usable over remote links than vanilla X forwarding is, and it's very maintainable. So +1 to this approach. -n ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel