[Matplotlib-users] howto save MplWidget to png or tif file --- savefig not working

2010-02-16 Thread Dave M Tung
HI folks, anybody know how to save a canvas (MplWidget) to a png or tif file. Seems when I try to save the figure, whichCanvas.canvas.ax.plot(xSlice, ySlice, 'bo', linewidth=1.5, linestyle='-') savefig does not work for this type of object. Is there another method I should use

[Matplotlib-users] trying to Copy plot from one MplWidget canvas to another

2010-02-08 Thread Dave . M . Tung
Hey folks, my problem may be obvious, but i can't seem to copy a plot from one canvas to another. # I have this object where whichCanvas is an instance of MplWidget (code shown below) self.whichCanvas.canvas.ax.plot(xData, yData, 'bo', linewidth=1.5, linestyle='-') # I want to cop