On 2013-05-09, at 3:55 PM, algotr8der <algotr8...@gmail.com> 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 cameron.ha...@gmail.com ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users