title: How to draw the largest polygon from a set of points
body: <p>So, i have a set of points (x,y), and i want to be able to draw the largest polygon with these points as vertices. I can use patches.Polygon() in matplotlib, but this simply draws lines between the points in the order i give them. This doesn't automatically do what i want. As an example, if a want to draw a square, and sort the points by increasing x, and then by increasing y, i won't get a square, but two connecting triangles. (the line "crosses over")</p>
  
  <p>So the problem now is to find a way to sort the list of points such that i "go around the outside" of the polygon when iterating over this list.</p>
  
  <p>Or is there maybe some other functionality in Matplotlib which can do this for me?</p>