Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Code upgraded to adjust for new version of networkx

This commit is contained in:
Arnar Flatberg 2006-11-24 13:29:09 +00:00
parent 880509f8a9
commit 6aa1a1a817
1 changed files with 1 additions and 1 deletions

View File

@ -771,7 +771,7 @@ class NetworkPlot(Plot):
if not kw.has_key('prog'):
kw['prog'] = 'neato'
if not kw.has_key('pos') or kw['pos']:
kw['pos'] = networkx.pygraphviz_layout(self.graph, kw['prog'])
kw['pos'] = networkx.graphviz_layout(self.graph, kw['prog'])
Plot.__init__(self, kw['name'])
self.current_dim = self.dim_name