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.
1 parent 1a3d441 commit d65c741Copy full SHA for d65c741
lib/matplotlib/tests/test_path.py
@@ -27,6 +27,12 @@ def test_point_in_path():
27
28
assert np.all(path.contains_points(points) == [True, False])
29
30
+def test_contains_points_negative_radius():
31
+ path = Path.unit_circle()
32
+
33
+ points = [(0.0, 0.0), (1.25, 0.0)]
34
35
+ assert np.all(path.contains_points(points, radius = -0.5) == [True, False] )
36
37
if __name__ == '__main__':
38
import nose
0 commit comments