Skip to content

Commit 36d8dfd

Browse files
jaron-leeadam2392
andauthored
Apply suggestions from code review
Co-authored-by: Adam Li <[email protected]> Signed-off-by: Jaron Lee <[email protected]>
1 parent b418036 commit 36d8dfd

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

pywhy_graphs/export/ananke.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ def graph_to_ananke(
1919
graph : pywhy_nx.MixedEdgeGraph
2020
The mixed edge causal graph
2121
directed_edge_name : str
22-
Name of the directed edge, default is directed.
22+
Name of the directed edge, default is 'directed'.
2323
bidirected_edge_name : str
24-
Name of the bidirected edge, default is bidirected.
24+
Name of the bidirected edge, default is 'bidirected'.
2525
undirected_edge_name : str
26-
Name of the undirected edge, default is undirected.
26+
Name of the undirected edge, default is 'undirected'.
2727
Returns
2828
-------
2929
result : Graph
@@ -81,11 +81,9 @@ def ananke_to_graph(
8181
directed_edge_name : str
8282
Name of the directed edge, default is 'directed'.
8383
bidirected_edge_name : str
84-
Name of the bidirected edge, default is bidirected.
84+
Name of the bidirected edge, default is 'bidirected'.
8585
undirected_edge_name : str
8686
Name of the undirected edge, default is 'undirected'.
87-
88-
8987
Returns
9088
-------
9189
result : pywhy_nx.MixedEdgeGraph

0 commit comments

Comments
 (0)