Skip to content

Commit b174f55

Browse files
Remove networkx import
1 parent 46c81dc commit b174f55

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

causal_testing/specification/causal_dag.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ def __init__(self, dot_path: str = None, **attr):
136136
if dot_path:
137137
pydot_graph = pydot.graph_from_dot_file(dot_path)
138138
self.graph = nx.DiGraph(nx.drawing.nx_pydot.from_pydot(pydot_graph[0]))
139-
self.graph2 = nx.DiGraph(nx.drawing.nx_agraph.read_dot(dot_path))
140139
else:
141140
self.graph = nx.DiGraph()
142141

0 commit comments

Comments
 (0)