Skip to content

Commit

Permalink
plot: small changes to dendrogram docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
AldoGl committed Jul 19, 2022
1 parent b8de33b commit 33d150b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dadapy/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,14 +191,14 @@ def plot_DecGraph(Data, savefig=""):
def get_dendrogram(Data, cmap="viridis", savefig="", logscale=True):
"""Generate a visualisation of the topography computed with ADP.
This visualisation fundamentally corresponds to a hierarchy of the clusters build
This visualisation fundamentally corresponds to a hierarchy of the clusters built
with Single Linkage taking as similarity measure the density at the
border between clusters.
At difference from classical dendrograms, where all the branches have the same height,
in this case the height of the branches is proportional to the density of the cluster
centre.
To convey more information, the distance in the x-axis between
clusters is proportional to the population (or its logarithm). TODO: Alex, is this sentence true?
clusters is proportional to the population (or its logarithm).
Args:
Data: A dadapy data object for which ADP has been already run.
Expand Down

0 comments on commit 33d150b

Please sign in to comment.