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