diff options
author | Mridul Seth <seth.mridul@gmail.com> | 2022-06-21 18:08:58 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-21 17:08:58 +0300 |
commit | bc29f29698b4683286954dddaea64cd108d60f93 (patch) | |
tree | a4e68e41d1949b250eb22fff8c15f3fc82ac1779 /examples | |
parent | 3135c6691073dff15f35316c39a30afd3f0e3cca (diff) | |
download | networkx-bc29f29698b4683286954dddaea64cd108d60f93.tar.gz |
Remove deprecated function nx.info (#5759)
* Remove deprecated function nx.info
* remove functions from TOC
* replace print(nx.info(G)) with print(G) in example
Co-authored-by: Dan Schult <dschult@colgate.edu>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/algorithms/plot_parallel_betweenness.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/algorithms/plot_parallel_betweenness.py b/examples/algorithms/plot_parallel_betweenness.py index d9333f45..e6d238dd 100644 --- a/examples/algorithms/plot_parallel_betweenness.py +++ b/examples/algorithms/plot_parallel_betweenness.py @@ -65,7 +65,7 @@ G_ws = nx.connected_watts_strogatz_graph(1000, 4, 0.1) for G in [G_ba, G_er, G_ws]: print("") print("Computing betweenness centrality for:") - print(nx.info(G)) + print(G) print("\tParallel version") start = time.time() bt = betweenness_centrality_parallel(G) |