scipy.cluster.hierarchy.correspond
scipy.cluster.hierarchy.set_link_color_palette
Returns the number of original observations of the linkage matrix passed.
Z : ndarray
The linkage matrix on which to perform the operation.
n : int
The number of original observations in the linkage.