igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] how to plot graph on matplotlib figure?


From: Tamas Nepusz
Subject: Re: [igraph] how to plot graph on matplotlib figure?
Date: Mon, 5 Jul 2010 22:40:51 +0100

> but when I pass the visual_style dict to the matplotlib renderer like this 
> (based on your codesnippet):
Replace the following line in the draw() method:

self.graph.__plot__(renderer.gc.ctx, self.bbox, self.palette)

The replacement should be as follows:

self.graph.__plot__(renderer.gc.ctx, self.bbox, self.palette, *self.args, 
**self.kwds)

-- 
T.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]