Code upgraded to adjust for new version of networkx
This commit is contained in:
parent
880509f8a9
commit
6aa1a1a817
|
@ -771,7 +771,7 @@ class NetworkPlot(Plot):
|
||||||
if not kw.has_key('prog'):
|
if not kw.has_key('prog'):
|
||||||
kw['prog'] = 'neato'
|
kw['prog'] = 'neato'
|
||||||
if not kw.has_key('pos') or kw['pos']:
|
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'])
|
Plot.__init__(self, kw['name'])
|
||||||
self.current_dim = self.dim_name
|
self.current_dim = self.dim_name
|
||||||
|
|
||||||
|
|
Reference in New Issue