Skip to content

Commit

Permalink
Update networkx_plotting.py
Browse files Browse the repository at this point in the history
Fixing the error message in self-cycle cases.

Signed-off-by: Ahmet Kapkic <ahmetkapkic@gmail.com>
  • Loading branch information
kapkic authored and bloebp committed Oct 25, 2024
1 parent 07587d0 commit e79d012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dowhy/utils/networkx_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def plot_causal_graph_networkx(
if edge[0] == edge[1]:
raise ValueError(
"Node %s has a self-cycle, i.e. a node pointing to itself. Plotting self-cycles is "
"currently only supported for plots using Graphviz! Consider installing the corresponding"
"currently only supported for plots using Graphviz! Consider installing the corresponding "
"requirements." % edge[0]
)

Expand Down

0 comments on commit e79d012

Please sign in to comment.