Tanks, Michael. Maybe I'll try to build from SVN this weekend.
Goyo
El jue, 18-09-2008 a las 09:31 -0400, Michael Droettboom escribió:
> Proper NaN handling has been a long and winding road.
>
> This particuar bug you're running into was fixed about a week *after*
> the 0.98.3 release. Here's
Proper NaN handling has been a long and winding road.
This particuar bug you're running into was fixed about a week *after*
the 0.98.3 release. Here's the patch:
http://matplotlib.svn.sourceforge.net/viewvc/matplotlib?view=rev&revision=6018
So SVN trunk currently works. The patch against 0.9
I worked around this using masked arrays from numpy.ma.
import numpy.ma as ma
import pylab as pl
import numpy as np
x = ...
x = ma.masked_where(np.isnan(x), x)
pl.plot(x)
pl.show()
On Wed, Sep 17, 2008 at 6:36 PM, Goyo <[EMAIL PROTECTED]> wrote:
> I'm having trouble plotting data with NaN value
I'm having trouble plotting data with NaN values. My plot has lines and
markers and usually both are skipped for NaN values. But when I have
more than 127 data a line is drawn from the last non-NaN to the next.
I read somewhere about a similar issue (maybe here? sorry I can't find
it just now), it