summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Barnowski <rossbar@berkeley.edu>2021-04-09 12:12:04 -0700
committerGitHub <noreply@github.com>2021-04-09 21:12:04 +0200
commitf97705493ac84f99aa6ab5aae3129d5dc2578e2c (patch)
treec22364575b74c53ceb49d280a9e2e994e73a26fc
parente85ec084b792bca13e6f26034fce120762b18eb1 (diff)
downloadnetworkx-f97705493ac84f99aa6ab5aae3129d5dc2578e2c.tar.gz
rm nx import from docstring example. (#4738)
-rw-r--r--networkx/algorithms/approximation/clustering_coefficient.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/networkx/algorithms/approximation/clustering_coefficient.py b/networkx/algorithms/approximation/clustering_coefficient.py
index ec61cb83..63409bc8 100644
--- a/networkx/algorithms/approximation/clustering_coefficient.py
+++ b/networkx/algorithms/approximation/clustering_coefficient.py
@@ -39,7 +39,6 @@ def average_clustering(G, trials=1000, seed=None):
Examples
--------
- >>> import networkx as nx
>>> from networkx.algorithms import approximation
>>> G = nx.erdos_renyi_graph(10, 0.2, seed=10)
>>> approximation.average_clustering(G, trials=1000, seed=10)