Python: Hierarchical clustering plot and number of clusters over distances plot