sns.clustermap(correlations, row_linkage=row_linkage, col_linkage=
    col_linkage, row_colors=network_colors, method='average', col_colors=
    network_colors, figsize=(13, 13), cmap=cmap)
Extracting clusters from seaborn clustermap