summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2021-03-04 13:22:44 -0800
committerGitHub <noreply@github.com>2021-03-04 13:22:44 -0800
commitf9570289c7abd568714e4114e0b9ce1d0ddc5dcf (patch)
treee9823cc1c58d752604a23f053d263e27b7245877 /examples
parent00a2ff9ecca3787d9c55956ecc5a135470e0d6f3 (diff)
downloadnetworkx-f9570289c7abd568714e4114e0b9ce1d0ddc5dcf.tar.gz
Make main default branch (and remove gitwash) (#4649)
Diffstat (limited to 'examples')
-rw-r--r--examples/drawing/plot_knuth_miles.py2
-rw-r--r--examples/drawing/plot_sampson.py2
-rw-r--r--examples/drawing/plot_unix_email.py2
-rw-r--r--examples/external/javascript_force.py2
-rw-r--r--examples/graph/plot_roget.py2
-rw-r--r--examples/graph/plot_words.py2
-rw-r--r--examples/graphviz_layout/plot_lanl_routes.py2
7 files changed, 7 insertions, 7 deletions
diff --git a/examples/drawing/plot_knuth_miles.py b/examples/drawing/plot_knuth_miles.py
index 157dc699..45ef9f5c 100644
--- a/examples/drawing/plot_knuth_miles.py
+++ b/examples/drawing/plot_knuth_miles.py
@@ -15,7 +15,7 @@ This example is described in Section 1.1 of
The data file can be found at:
-- https://github.com/networkx/networkx/blob/master/examples/drawing/knuth_miles.txt.gz
+- https://github.com/networkx/networkx/blob/main/examples/drawing/knuth_miles.txt.gz
"""
import gzip
diff --git a/examples/drawing/plot_sampson.py b/examples/drawing/plot_sampson.py
index adfa6d2f..d6eff642 100644
--- a/examples/drawing/plot_sampson.py
+++ b/examples/drawing/plot_sampson.py
@@ -9,7 +9,7 @@ Shows how to read data from a zip file and plot multiple frames.
The data file can be found at:
-- https://github.com/networkx/networkx/blob/master/examples/drawing/sampson_data.zip
+- https://github.com/networkx/networkx/blob/main/examples/drawing/sampson_data.zip
"""
import zipfile
diff --git a/examples/drawing/plot_unix_email.py b/examples/drawing/plot_unix_email.py
index 4e1c6b6d..25fce7ae 100644
--- a/examples/drawing/plot_unix_email.py
+++ b/examples/drawing/plot_unix_email.py
@@ -14,7 +14,7 @@ objects (in this case a list of email messages).
The sample unix email mailbox called "unix_email.mbox" may be found here:
-- https://github.com/networkx/networkx/blob/master/examples/drawing/unix_email.mbox
+- https://github.com/networkx/networkx/blob/main/examples/drawing/unix_email.mbox
"""
from email.utils import getaddresses, parseaddr
diff --git a/examples/external/javascript_force.py b/examples/external/javascript_force.py
index 8304ca79..0249961e 100644
--- a/examples/external/javascript_force.py
+++ b/examples/external/javascript_force.py
@@ -8,7 +8,7 @@ to produce an HTML/Javascript drawing.
You will need to download the following directory:
-- https://github.com/networkx/networkx/tree/master/examples/external/force
+- https://github.com/networkx/networkx/tree/main/examples/external/force
"""
import json
diff --git a/examples/graph/plot_roget.py b/examples/graph/plot_roget.py
index 70023b47..777c0174 100644
--- a/examples/graph/plot_roget.py
+++ b/examples/graph/plot_roget.py
@@ -17,7 +17,7 @@ loops. (cf. 400pungency:400 401 403 405).
The data file can be found at:
-- https://github.com/networkx/networkx/blob/master/examples/graph/roget_dat.txt.gz
+- https://github.com/networkx/networkx/blob/main/examples/graph/roget_dat.txt.gz
"""
import gzip
diff --git a/examples/graph/plot_words.py b/examples/graph/plot_words.py
index dddea7cd..3ff8f5c9 100644
--- a/examples/graph/plot_words.py
+++ b/examples/graph/plot_words.py
@@ -13,7 +13,7 @@ letter, resulting in 14,135 edges. This example is described in Section 1.1 of
The data file can be found at:
-- https://github.com/networkx/networkx/blob/master/examples/graph/words_dat.txt.gz
+- https://github.com/networkx/networkx/blob/main/examples/graph/words_dat.txt.gz
"""
import gzip
diff --git a/examples/graphviz_layout/plot_lanl_routes.py b/examples/graphviz_layout/plot_lanl_routes.py
index 4247646d..fe3ff3dd 100644
--- a/examples/graphviz_layout/plot_lanl_routes.py
+++ b/examples/graphviz_layout/plot_lanl_routes.py
@@ -7,7 +7,7 @@ Routes to LANL from 186 sites on the Internet.
The data file can be found at:
-- https://github.com/networkx/networkx/blob/master/examples/drawing/lanl_routes.edgelist
+- https://github.com/networkx/networkx/blob/main/examples/drawing/lanl_routes.edgelist
This example needs Graphviz and PyGraphviz.
"""