diff options
author | Navya Agarwal <82928853+navyagarwal@users.noreply.github.com> | 2023-04-03 08:10:26 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-02 22:40:26 -0400 |
commit | f26a1705f57c83838a966cc847fc52f78ff7314c (patch) | |
tree | 6d9d64a40f92bc77df373a8c89e937d93ee1dfa0 | |
parent | 6574d58a2d6d2c43692cb6919db701cc1e1ade5f (diff) | |
download | networkx-f26a1705f57c83838a966cc847fc52f78ff7314c.tar.gz |
Fixed method description in ismags.py (#6600)
* Fix docstr of partition_to_color
* Minor edit
-rw-r--r-- | networkx/algorithms/isomorphism/ismags.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networkx/algorithms/isomorphism/ismags.py b/networkx/algorithms/isomorphism/ismags.py index 4145be11..76fdee05 100644 --- a/networkx/algorithms/isomorphism/ismags.py +++ b/networkx/algorithms/isomorphism/ismags.py @@ -184,8 +184,8 @@ def make_partitions(items, test): def partition_to_color(partitions): """ - Creates a dictionary with for every item in partition for every partition - in partitions the index of partition in partitions. + Creates a dictionary that maps each item in each partition to the index of + the partition to which it belongs. Parameters ---------- |