From: John H. <jdh...@ac...> - 2005-11-30 21:34:15
|
>>>>> "Xavier" == Xavier Gnata <gn...@ob...> writes: Xavier> Hi, Here is a testcase : Xavier> a=range(10) b=rand(10) plot(a,b,'x') axis([0.,1e-7,0.,1.]) Xavier> Segmentation fault Ouch -- I can repeat this with the minimal example from pylab import * plot([1,2,3], 'o') xlim(0.,1e-7) show() In GTK you get File "/home/jdhunter/debs/matplotlib/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gdk.py", line 95, in draw_arc self.gdkDrawable.draw_arc(gc.gdkGC, True, x, y, w, h, a1, a2) OverflowError: long int too large to convert to int and in *Agg you get the segfault, though PS and SVG work. It looks like the data points are being transformed out to infinity, which is breaking agg badly somewhere. I'll look into it. Xavier> Thanks for your job on matplotlib :) Xavier. Thanks for the report. JDH |