Mercurial > repos > chemteam > biomd_extract_clusters
diff rmsd_clustering.py @ 2:e0ecaf2d05fb draft default tip
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit f1c3c88c7395f2e84cbc533199406aadb79c5c07"
author | chemteam |
---|---|
date | Fri, 13 Nov 2020 19:39:27 +0000 |
parents | ad49025ba90d |
children |
line wrap: on
line diff
--- a/rmsd_clustering.py Fri Sep 11 21:55:13 2020 +0000 +++ b/rmsd_clustering.py Fri Nov 13 19:39:27 2020 +0000 @@ -48,7 +48,8 @@ def plot_dendrogram(Z, output): - plt.figure(figsize=(25, 10)) + # figure width scales with number of leaves + plt.figure(figsize=(0.25 * Z.shape[0], 10)) plt.title('Hierarchical Clustering Dendrogram') plt.xlabel('Trajectory index') plt.ylabel('distance')