diff options
Diffstat (limited to 'examples/algorithms/plot_rcm.py')
-rw-r--r-- | examples/algorithms/plot_rcm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/algorithms/plot_rcm.py b/examples/algorithms/plot_rcm.py index 91e7665e..fc08739b 100644 --- a/examples/algorithms/plot_rcm.py +++ b/examples/algorithms/plot_rcm.py @@ -15,7 +15,7 @@ import seaborn as sns import networkx as nx -# build low-bandwidth numpy matrix +# build low-bandwidth matrix G = nx.grid_2d_graph(3, 3) rcm = list(nx.utils.reverse_cuthill_mckee_ordering(G)) print("ordering", rcm) |