Wayne, Segfaults are generally caused by problems in extension code or libraries. The fact that the plotting works with a non-gui backend indicates that the problem is not in matplotlib's transform or Agg extension code, or in the bits of numpy code that get used along the way. I was pretty sure this would be the case; all of those components are solid and well-tested together, at least for simple plotting.
That tends to throw suspicion on Tkinter/Tk/Tcl or one of mpl's extension bits that is run with Tk. I'm not sure there are any in this case. One way to narrow it down is to try another gui: gtk or qt. Do you have either of these libraries installed? Eric Wayne E. Harlan wrote: > > > Eric Firing wrote: >> Wayne, >> >> I'm stumped. Do you get a segfault only with the gui backend? Can >> you you do this: >> >> import matplotlib >> matplotlib.use('Agg') >> import pylab >> pylab.plot([1,2,3]) >> pylab.savefig('test.png') >> >> Eric > <previous stuff snipped> > > OK, this worked. I have attached the test,png file that resulted. But > I don't quite know what this means ... > > IDLE 1.2.1 >>> import matplotlib > >>> matplotlib.use('Agg') > >>> import pylab > >>> pylab.plot([1,2,3]) > [<matplotlib.lines.Line2D instance at 0x87cd56c>] > >>> pylab.savefig('test.png') > >>> > > The other suggestion from Michael about using gdb will have to wait > until I download, install and learn to use it, but if that's required, > that's what I'll do. > > Thanks > > Wayne > > > ------------------------------------------------------------------------ > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users