Re: [Matplotlib-users] Backtrace with CocoaAgg backend

2009-01-21 Thread Adam Mercer
On Wed, Jan 21, 2009 at 21:09, John Hunter wrote: > This looks like a simple bug in which FigureCanvasBase is not > imported. Try replacing line 31 in > matplotlib/backends/backend_cocoaagg.py with this:: > >from matplotlib.backend_bases import FigureManagerBase, FigureCanvasBase > > I've fi

Re: [Matplotlib-users] Backtrace with CocoaAgg backend

2009-01-21 Thread John Hunter
On Wed, Jan 21, 2009 at 8:31 PM, Adam Mercer wrote: > Anyone? > > Cheers > > Adam > > On Sat, Jan 17, 2009 at 17:19, Adam Mercer wrote: >> Hi >> >> I'm trying to track down an issue with the CocoaAgg backend on Mac OS >> X using MacPorts, when run with the CocoaAgg backend the following >> code:

Re: [Matplotlib-users] Backtrace with CocoaAgg backend

2009-01-21 Thread Adam Mercer
Anyone? Cheers Adam On Sat, Jan 17, 2009 at 17:19, Adam Mercer wrote: > Hi > > I'm trying to track down an issue with the CocoaAgg backend on Mac OS > X using MacPorts, when run with the CocoaAgg backend the following > code: > > from pylab import * > import time > > ion() > > tstart = time.tim

Re: [Matplotlib-users] Backtrace with CocoaAgg backend

2009-01-17 Thread Adam Mercer
On Sat, Jan 17, 2009 at 17:19, Adam Mercer wrote: > Hi > > I'm trying to track down an issue with the CocoaAgg backend on Mac OS > X using MacPorts, when run with the CocoaAgg backend the following > code: Sorry, should have mentioned that this is with Matplotlib-0.98.5.2 using Mac OS X Leopard.

[Matplotlib-users] Backtrace with CocoaAgg backend

2009-01-17 Thread Adam Mercer
Hi I'm trying to track down an issue with the CocoaAgg backend on Mac OS X using MacPorts, when run with the CocoaAgg backend the following code: from pylab import * import time ion() tstart = time.time() x = arange(0,2*pi,0.01) line, = plot(x,sin(x)) for i in arange(1,200): line.set_ydata(