summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRoss Barnowski <rossbar@berkeley.edu>2022-02-12 10:23:50 -0800
committerGitHub <noreply@github.com>2022-02-12 22:23:50 +0400
commit930121ffb89d01077b9888abbd5e810a7e5e16a4 (patch)
treeb8af536882ea8f6fa6e688e656480588f4d4a4f3 /examples
parent69db45cdb6f56a3e337cdc2cc54386270ab18308 (diff)
downloadnetworkx-930121ffb89d01077b9888abbd5e810a7e5e16a4.tar.gz
More numpy.matrix cleanups for NX2.7 (#5319)
* Fix return type in docstring of internal function. * Rm explicit mention of numpy matrix from class docstrings. * Fix return type of floyd_warshall_numpy docstring. * Remove mention of numpy matrix from code comment. * Fix simrank similarity internal docstring. * Rm explicit mention of matrix in favor of 2D array. * Update to_networkx_graph array exception wording. * Remove extraneous mention of numpy matrix. * Don't print array in exception message.
Diffstat (limited to 'examples')
-rw-r--r--examples/algorithms/plot_rcm.py2
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)