matplotlib/matplotlib — pull request #3759 by mdboom (2014-11-05 23:54:54+00:00)
Title: points_in_path can fail with NaN data

```python

from matplotlib.path import Path
import numpy as np
box = np.array([[0, 0], [1, 0], [1, 1], [0, 1], [0, 0]])
p = Path(box)
test = np.array([[np.nan, 0.5]])
p.contains_points(test) # array([ True], dtype=bool)
```