Re: [Matplotlib-users] ZeroDivisionError in scale_range

2006-11-15 Thread W Netzberg
I've built 0.87.7 from source and the problem disappeared. Thanks.On 11/13/06, Steve Schmerler <[EMAIL PROTECTED] > wrote:W Netzberg wrote:> I aggree it doesn't make much sense, but that's what I got and attached > a plot to prove it!> Seems that some sort of rounding takes place, but only when I u

Re: [Matplotlib-users] ZeroDivisionError in scale_range

2006-11-13 Thread Steve Schmerler
W Netzberg wrote: > I aggree it doesn't make much sense, but that's what I got and attached > a plot to prove it! > Seems that some sort of rounding takes place, but only when I use > numpy.random.normal(). It is strange. Can you post a short working and not-working (i.e. chopping off) example?

Re: [Matplotlib-users] ZeroDivisionError in scale_range

2006-11-13 Thread Steve Schmerler
W Netzberg wrote: > I can't find a 0.87.5 rpm for fc5, might have to build it from source to > see if this behavior goes away... Seems to be related to numpy. If I > replace: > numpy.random.normal(-0.37727, 0.1, size=10) > with an array normal() returns, the problem goes away. Strange. Again >

Re: [Matplotlib-users] ZeroDivisionError in scale_range

2006-11-11 Thread Eric Firing
That problem was fixed quite a few months ago; I don't recall exactly when. Eric W Netzberg wrote: > The following code throws ZeroDivisionError: > import numpy, pylab > z = numpy.random.normal(-0.37727, 0.1, size=10) > pylab.plot(z) > pylab.show () > The stack trace: > Traceback (most recent cal

Re: [Matplotlib-users] ZeroDivisionError in scale_range

2006-11-11 Thread Steve Schmerler
W Netzberg wrote: > The following code throws ZeroDivisionError: > import numpy, pylab > z = numpy.random.normal(-0.37727, 0.1, size=10) > pylab.plot(z) > pylab.show () > The stack trace: > Traceback (most recent call last): > File "", line 3, in ? > File "/usr/lib/python2.4/site-packages/matpl

[Matplotlib-users] ZeroDivisionError in scale_range

2006-11-11 Thread W Netzberg
The following code throws ZeroDivisionError:import numpy, pylabz = numpy.random.normal(-0.37727, 0.1, size=10)pylab.plot(z)pylab.show ()The stack trace:Traceback (most recent call last):  File "", line 3, in ?   File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py", line 2018, in plot    ret