You need to update your mpl to the current release or svn. This was
fixed quite a few months ago, but I don't remember exactly when.
Eric
Brian Blais wrote:
> Hello,
>
> If I do the following:
>
> plot([1],[1],'o')
>
> it plots the one dot correctly.
>
> if, however, one of those numbers is
Brian Blais wrote:
>
> plot([1],[0],'o')
>
> I get a floating point/divide by zero error:
>
>
> /usr/lib/python2.4/site-packages/matplotlib/ticker.py in scale_range(vmin,
> vmax, n,
> threshold)
> 731 dv = abs(vmax - vmin)
> 732 meanv = 0.5*(vmax+vmin)
> --> 733 var = d
Hello,
If I do the following:
plot([1],[1],'o')
it plots the one dot correctly.
if, however, one of those numbers is zero:
plot([1],[0],'o')
I get a floating point/divide by zero error:
/usr/lib/python2.4/site-packages/matplotlib/ticker.py in scale_range(vmin,
vmax, n,
threshold)
73