diff --git a/examples/intro/checking_validity_of_a_pag.py b/examples/intro/checking_validity_of_a_pag.py index 787ef8bf..96b37bfd 100644 --- a/examples/intro/checking_validity_of_a_pag.py +++ b/examples/intro/checking_validity_of_a_pag.py @@ -61,9 +61,9 @@ # %% # Validity of a PAG # --------------------------- -# For a PAG to be valid, it must represent a valid +# For a PAG to be valid, it must represent a valid # equivalent class of MAGs. This can be verified by -# turning the PAG into an MAG and then checking the +# turning the PAG into an MAG and then checking the # validity of the MAG # To check if the constructed PAG is a valid one in # pywhy-graphs, we can simply do: @@ -80,7 +80,7 @@ # the representation of multiple marks as encoded # by the different MAGs this PAG represents: -pag.remove_edge("S","I",pag.circle_edge_name) +pag.remove_edge("S", "I", pag.circle_edge_name) # returns False print(pywhy_graphs.valid_pag(pag))