How do I encircle different data sets in scatter plot? [closed]
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago . How do I encircle different data sets in scatter plot? What I'm looking for is something like this: Also, how do I thereafter fill in the circle with a (shaded) colour? 回答1: You may get the path that incoporates all points via a convex hull scipy.spatial.ConvexHull . import matplotlib.pyplot as plt