Skip to content

Commit 0cdde5e

Browse files
committed
update doc
1 parent dcf8843 commit 0cdde5e

File tree

1 file changed

+1
-1
lines changed
  • docs/source/search_methods_index/Constraint-based causal discovery methods

1 file changed

+1
-1
lines changed

docs/source/search_methods_index/Constraint-based causal discovery methods/FCI.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Usage
1919
2020
# visualization
2121
from causallearn.utils.GraphUtils import GraphUtils
22-
pdy = GraphUtils.to_pydot(graph)
22+
pdy = GraphUtils.to_pydot(G)
2323
pdy.write_png('simple_test.png')
2424
2525
Visualization using pydot is recommended. If specific label names are needed, please refer to this `usage example <https://github.com/cmu-phil/causal-learn/blob/main/tests/TestGraphVisualization.py>`_.

0 commit comments

Comments
 (0)