visualizedendrogramDendrogramget_parent_by_name

Dendrogram.get_parent_by_name

visualize.dendrogram.Dendrogram.get_parent_by_name(name)

Get the parent of a dendrogram section by its name.

Parameters:

name (str) – The name of the section.

Returns:

The parent dendrogram section. None if the section is the soma.

Return type:

_DendrogramSection