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
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
-