henchman.plotting.dendrogram

henchman.plotting.dendrogram(D, figargs=None)[source]

Creates a dendrogram plot. This plot can show full structure of a given dendrogram.

Parameters:D (henchman.selection.Dendrogram) – An initialized dendrogram object

Examples

>>> from henchman.selection import Dendrogram
>>> from henchman.plotting import show
>>> import henchman.plotting as hplot
>>> D = Dendrogram(X)
>>> plot = hplot.dendrogram(D)
>>> show(plot)