summaryrefslogtreecommitdiff
path: root/examples/graph/plot_degree_sequence.py
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2017-07-22 12:22:29 -0700
committerJarrod Millman <jarrod.millman@gmail.com>2017-07-25 22:01:54 -0700
commitf7c139d9427feda89781a82c385e811ff9e387d0 (patch)
treee1599aec313c3633b9378bb168e6d898b365aec0 /examples/graph/plot_degree_sequence.py
parent389723fd4eff7d6b81133af293f588b50120ba32 (diff)
downloadnetworkx-f7c139d9427feda89781a82c385e811ff9e387d0.tar.gz
Remove is_valid_degree_sequence deprecated in 2013
See b93017c17.
Diffstat (limited to 'examples/graph/plot_degree_sequence.py')
-rw-r--r--examples/graph/plot_degree_sequence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/graph/plot_degree_sequence.py b/examples/graph/plot_degree_sequence.py
index 6ba7a644..8bba2c74 100644
--- a/examples/graph/plot_degree_sequence.py
+++ b/examples/graph/plot_degree_sequence.py
@@ -21,7 +21,7 @@ import matplotlib.pyplot as plt
from networkx import nx
z = [5, 3, 3, 3, 3, 2, 2, 2, 1, 1, 1]
-print(nx.is_valid_degree_sequence(z))
+print(nx.is_graphical(z))
print("Configuration model")
G = nx.configuration_model(z) # configuration model