From 6aa1a1a8173a5493b5503bf04bafb6316fd66da0 Mon Sep 17 00:00:00 2001 From: flatberg Date: Fri, 24 Nov 2006 13:29:09 +0000 Subject: [PATCH] Code upgraded to adjust for new version of networkx --- fluents/plots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluents/plots.py b/fluents/plots.py index 01cfb46..1d4c5df 100644 --- a/fluents/plots.py +++ b/fluents/plots.py @@ -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