[SciPy-user] Pylab plotting: math range errors unrecoverable

Keflavich keflavich@gmail....
Mon Nov 19 13:05:53 CST 2007


Thanks Michael.  Any thoughts on automatically masking bad values?

Adam

On Nov 15, 12:19 pm, Michael McNeil Forbes <mfor...@physics.ubc.ca>
wrote:
> On 15 Nov 2007, at 11:07 AM, Adam Ginsburg wrote:> 2. when I get the above error, then try to plot something WITHOUT
> > infinities, it fails with the exact same error, and when I ran the
> > debugger it claimed that meanv was still inf.  Is there any way to fix
> > that short of quitting and reentering the python command line?
>
> You can usually just clear the plot with clf().  I think the plot
> keeps the old data and then tries to redisplay it each time, giving
> errors over and over until you clear the figure.
>
> Michael.
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-u...@scipy.orghttp://projects.scipy.org/mailman/listinfo/scipy-user


More information about the SciPy-user mailing list