Re: [Matplotlib-users] path and bbox

2008-09-10 Thread Michael Droettboom
Ah, yes. The code was written with the assumption that the paths were treated as filled (which doesn't really matter whether they are closed or not). I have added a "filled" kwarg to Path.intersects_path and Path.intersects_bbox that when True treats the path(s) as filled, and when False does

Re: [Matplotlib-users] path and bbox

2008-09-10 Thread Eric Firing
Michael Droettboom wrote: I just added a test of intersects_bbox to SVN that seems to be working correctly for short paths containing masked values. It would appear that masked values *should* be dealt with correctly (that is, in exactly the same way as they are drawn) by the intersection code

Re: [Matplotlib-users] path and bbox

2008-09-09 Thread Evan Mason
On Tue, Sep 9, 2008 at 2:02 AM, Eric Firing <[EMAIL PROTECTED]> wrote: > Evan Mason wrote: > >> Hi, wonder if anyone can help me with path and bbox. I have a set of >> ocean drifter tracks and I want to know if they pass through a particular >> boxed area. This is straightforward to do but I wan

Re: [Matplotlib-users] path and bbox

2008-09-09 Thread Michael Droettboom
I just added a test of intersects_bbox to SVN that seems to be working correctly for short paths containing masked values. It would appear that masked values *should* be dealt with correctly (that is, in exactly the same way as they are drawn) by the intersection code. However, there is proba

Re: [Matplotlib-users] path and bbox

2008-09-08 Thread Eric Firing
Evan Mason wrote: > Hi, wonder if anyone can help me with path and bbox. I have a set of > ocean drifter tracks and I want to know if they pass through a > particular boxed area. This is straightforward to do but I wanted to > try to do it with matplotlib.transforms and matplotlib.path, which

[Matplotlib-users] path and bbox

2008-09-08 Thread Evan Mason
Hi, wonder if anyone can help me with path and bbox. I have a set of ocean drifter tracks and I want to know if they pass through a particular boxed area. This is straightforward to do but I wanted to try to do it with matplotlib.transforms and matplotlib.path, which look well-suited to this kind