(self, context, bbox, palette, *args, **kwds)
return result
Draws the vertex dendrogram on the given Cairo context

        See L{Dendrogram.__plot__} for the list of supported keyword
        arguments.
Draws the vertex dendrogram on the given Cairo context
Draws the vertex dendrogram on the given Cairo context
def __plot__(self, context, bbox, palette, *args, **kwds):
        """Draws the vertex dendrogram on the given Cairo context

        See L{Dendrogram.__plot__} for the list of supported keyword
        arguments."""
        from igraph.drawing.metamagic import AttributeCollectorBase

        class VisualVertexBuilder(AttributeCollectorBase):
            _kwds_prefix = "vertex_"
            label = None

        builder = VisualVertexBuilder(self._graph.vs, kwds)
        self._names = [vertex.label for vertex in builder]
        self._names = [
            name if name is not None else str(idx)
            for idx, name in enumerate(self._names)
        ]
        result = Dendrogram.__plot__(self, context, bbox, palette, *args, **kwds)
        del self._names

        return result
def __plot__ ( self , context , bbox , palette , * args , * * kwds ) : from igraph . drawing . metamagic import AttributeCollectorBase class VisualVertexBuilder ( AttributeCollectorBase ) : _kwds_prefix = "vertex_" label = None builder = VisualVertexBuilder ( self . _graph . vs , kwds ) self . _names = [ vertex . label for vertex in builder ] self . _names = [ name if name is not None else str ( idx ) for idx , name in enumerate ( self . _names ) ] result = Dendrogram . __plot__ ( self , context , bbox , palette , * args , * * kwds ) del self . _names return result