replace deprecated matplotlib.nxutils.points_inside_poly with matplotlib.path.Path.contains_points