Re: [Matplotlib-users] matplotlib pnpoly-example-results-in-error

2013-05-12 Thread Cameron Hayne
below). Does anyone have an example of how I can do the exact same > thing in the code in the howto_faq but using the suggested function > (contains_point)? from matplotlib.path import Path path = Path(polygonVerts) isInside = path.contains_point(point) -- Cameron Hayne camer

[Matplotlib-users] problem with Path.contains_points

2013-04-26 Thread Cameron Hayne
oints are inside and some are not. If all of the points are inside, it works fine: points = [(0.5,0.5), (0.51,0.51)] >>> path2.contains_points(points) array([ True, True], dtype=bool) -- Cameron Hayne cameron.ha...@gmail.com -