On Friday 13 July 2007 10:32:15 am John Hunter wrote:
> On 7/13/07, Darren Dale <[EMAIL PROTECTED]> wrote:
> > I think this might trace back to Interval.get_bounds() in
> > src/_transforms.h. Maybe we could consider an additional Interval method
> > like
> > Interval.get_finite_bounds(), which could do something like numpy's
> > isfinite function to filter values that can not be plotted. But I'm not
> > an expert on mpl's transforms, so perhaps someone more knowledgeable can
> > comment.
>
> I'm happy to do this, if someone can advise how to get a portable
> isinf.  
[...]
> I would be happy to 
> import it from numpy (since we can now rely on it, woohoo) but am
> having trouble here too....  

If we can figure out how to get it from numpy, we can use numpy's isnan as 
well, and drop that bit of extension code from mpl's sources.

> I see isfinite defined in 
> umathmodule.c.src (and also in ufuncobject.h but only for _MSC_VER.
> If anyone can advise on how to get isinf or isfinite, pease do.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to