|
From: Paul H. <pmh...@gm...> - 2014-09-15 16:09:36
|
I don't think you'll get acceptable performance out of that workflow. I recommend looking into the webagg backend: http://matplotlib.org/users/whats_new.html#webagg-backend On Mon, Sep 15, 2014 at 8:38 AM, Xiaobo Yang <xia...@gm...> wrote: > Hi, I use matplotlib to create a png file, then display it in a web > browser. All works fine. Now I want to zoom the plot. What I can think of > is: > > 1) Get coordinates (x1, y1), (x2, y2) of the image when user makes an area > selection on the image; > > 2) Convert (x1, y1), (x2, y2) to the real values matplotlib was plotting; > > 3) Request matplotlib to create a new png file using the updated area > values. > > Could anybody please let me know how to accomplish step 2? > > Many thanks, > Tom > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |