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 ramer...@gmail.com 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 =

Re: [Matplotlib-users] Backtrace with CocoaAgg backend

2009-01-21 Thread John Hunter
On Wed, Jan 21, 2009 at 8:31 PM, Adam Mercer ramer...@gmail.com wrote: Anyone? Cheers Adam On Sat, Jan 17, 2009 at 17:19, Adam Mercer ramer...@gmail.com 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

Re: [Matplotlib-users] Backtrace with CocoaAgg backend

2009-01-21 Thread Adam Mercer
On Wed, Jan 21, 2009 at 21:09, John Hunter jdh2...@gmail.com 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,

[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):