python-igraph API reference

List of all classes, functions and methods in python-igraph

class documentation

class MatplotlibDendrogramDrawer(AbstractDrawer):

View In Hierarchy

Matplotlib drawer object for dendrograms.

Method __init__ Constructs the drawer and associates it to the given Axes.
Instance Variable context Undocumented
Method draw Draws the given Dendrogram in a matplotlib Axes.
Method _plot_item Plots a dendrogram item to the given Cairo context
def __init__(self, ax):

Constructs the drawer and associates it to the given Axes.

Parametersaxthe Axes on which we will draw
context =

Undocumented

def _plot_item(self, dendro, ax, orientation, idx, x, y):

Plots a dendrogram item to the given Cairo context

ParametersdendroUndocumented
axUndocumented
orientationUndocumented
idxthe index of the item
xthe X position of the item
ythe Y position of the item
contextthe Cairo context we are plotting on
horizwhether the dendrogram is horizontally oriented
def draw(self, dendro, orientation='lr', **kwds):
API Documentation for python-igraph, generated by pydoctor 21.2.2 at 2021-10-09 17:41:48.