Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f311ef5 + 5ba7a83 commit 51107eaCopy full SHA for 51107ea
1 file changed
lib/matplotlib/nxutils.py
@@ -23,7 +23,7 @@ def pnpoly(x, y, xyverts):
23
mplDeprecation)
24
25
p = path.Path(xyverts)
26
- return p.contains_point(x, y)
+ return p.contains_point([x, y])
27
28
def points_inside_poly(xypoints, xyverts):
29
"""
0 commit comments