triqs.gf.plot.select_indices.
closest_point_in_line
return the index of the closest point to x in the list of points L