|
From: Cameron H. <cam...@gm...> - 2013-05-12 07:31:22
|
On 2013-05-09, at 3:55 PM, algotr8der <alg...@gm...> wrote: > Apparently, nxutils is deprecated, which to me means it should still work > but a user on stackoverflow pointed out that there may be some code rot. > That said, the documentation on matplotlib.path.Path.contains_point is weak > (see 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 cam...@gm... |