Mean-shift clustering in a few lines of Python
sociograph.blogspot.com