Re: [Matplotlib-users] Problem with contains() on an arrow

2012-09-15 Thread Daniel Hyams
Bump for this topic; I'd still love to know what the right thing is to do here. On Mon, Aug 20, 2012 at 10:08 PM, Daniel Hyams wrote: > Hmm, I just found out that if I change path.Path.contains_point to use > "point_on_path" instead of "point_in_path", the containment tests work > properly. I'm

Re: [Matplotlib-users] Problem with contains() on an arrow

2012-08-20 Thread Daniel Hyams
Hmm, I just found out that if I change path.Path.contains_point to use "point_on_path" instead of "point_in_path", the containment tests work properly. I'm not that familiar with the path code...is the difference that one is testing for polygonal insideness, and one is testing for literally being

[Matplotlib-users] Problem with contains() on an arrow

2012-08-20 Thread Daniel Hyams
I've run into a strange problem with contains() on an arrow; there is a large area to the left of the arrow that insists that it is contained within the arrow. Small runnable sample attached. I've looked at the path for the arrow, and it looks fine to me. I even went so far as to hack a STOP ont