Re: [Matplotlib-users] Pan/Zoom can't work with blitting

2013-04-11 Thread Clare Soh
Hi Michiel, I'm using GtkAgg. Please correct me if I'm wrong, but issue 531's problem is with blitting, for me blitting works, I'm able to speed up plotting using canvas.copy_from_bbox(), canvas.restore_region() & canvas.blit(). It's just that after plotting, if I try to pan or zoom using the pan/

Re: [Matplotlib-users] Pan/Zoom can't work with blitting

2013-04-11 Thread Michiel de Hoon
Hi Clare, Which backend are you using, and can you show an example script? The blitting functions are a bit unusual as they try to draw stuff to the figure outside of the event loop. This is e.g. causing problems with animations, which makes use of the blitting functions. We have been looking a

[Matplotlib-users] Pan/Zoom can't work with blitting

2013-04-11 Thread Clare Soh
Hi, To improve plotting speed, I decided to use blitting(canvas.copy_from_bbox(), canvas.restore_region() & canvas.blit()) instead of canvas.draw(), however panning & zooming stops working after this change. Now, when I click on the 'Pan/Zoom' button or the 'Zoom to rectangle' button on the Naviga

Re: [Matplotlib-users] Appending an extra column in

2013-04-11 Thread Maximilian Trescher
Hi, for reading the data files you could user np.loadtxt("filename"). I'm not sure what kind of plot you want to create from this data, but probably you can find an appropriate plotting method on this page: http://matplotlib.org/mpl_toolkits/mplot3d/tutorial.html Max PS: Sorry for not sending m