Plot bug with zoom and symbols (segfault)

Hi,

Here is a testcase :

a=range(10)
b=rand(10)
plot(a,b,'x')
axis([0.,1e-7,0.,1.])

Segmentation fault

This test have been done with last matplotlib version (0.85) and TkAgg
backend + python2.3.
I haven't had time to look at the code for now but it sounds like a
"divide by zero + malloc" in the code computing the symbol possition on
the image.

Ok, this is a wired corner case but I have a real testcase (too long to
be posted here) where this crash occurs.

I also have tested without symbols :

a=range(10)
b=rand(10)
plot(a,b)
axis([0.,1e-7,0.,1.])

and the result looks good and no crash occurs.

Thanks for your job on matplotlib :slight_smile:
Xavier.