diff options
author | Dan Schult <dschult@colgate.edu> | 2016-04-18 11:09:24 -0400 |
---|---|---|
committer | Dan Schult <dschult@colgate.edu> | 2016-04-18 11:09:24 -0400 |
commit | d26d5e4de3a7a7fa609f56295dd8537bccffccd9 (patch) | |
tree | f7db53a72cfb850a6a7da2746fb0a697e3593dd3 | |
parent | b796cb27d95b33b927ba76f28940f043b7790214 (diff) | |
download | networkx-d26d5e4de3a7a7fa609f56295dd8537bccffccd9.tar.gz |
Move link for metric back into parameters section with indent
-rw-r--r-- | networkx/generators/geometric.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/networkx/generators/geometric.py b/networkx/generators/geometric.py index fe488b1d..02b3740f 100644 --- a/networkx/generators/geometric.py +++ b/networkx/generators/geometric.py @@ -72,6 +72,8 @@ def random_geometric_graph(n, radius, dim=2, pos=None, metric=None): If this argument is not specified, the Euclidean distance metric is used. + .. _metric: https://en.wikipedia.org/wiki/Metric_%28mathematics%29 + Returns ------- Graph @@ -97,8 +99,6 @@ def random_geometric_graph(n, radius, dim=2, pos=None, metric=None): .. _taxicab metric: https://en.wikipedia.org/wiki/Taxicab_geometry .. _Euclidean metric: https://en.wikipedia.org/wiki/Euclidean_distance - .. _metric: https://en.wikipedia.org/wiki/Metric_%28mathematics%29 - Notes ----- @@ -205,6 +205,8 @@ def geographical_threshold_graph(n, theta, alpha=2, dim=2, pos=None, If this argument is not specified, the Euclidean distance metric is used. + .. _metric: https://en.wikipedia.org/wiki/Metric_%28mathematics%29 + Returns ------- Graph @@ -229,8 +231,6 @@ def geographical_threshold_graph(n, theta, alpha=2, dim=2, pos=None, .. _taxicab metric: https://en.wikipedia.org/wiki/Taxicab_geometry .. _Euclidean metric: https://en.wikipedia.org/wiki/Euclidean_distance - .. _metric: https://en.wikipedia.org/wiki/Metric_%28mathematics%29 - Notes ----- @@ -338,6 +338,8 @@ def waxman_graph(n, alpha=0.4, beta=0.1, L=None, domain=(0, 0, 1, 1), If this argument is not specified, the Euclidean distance metric is used. + .. _metric: https://en.wikipedia.org/wiki/Metric_%28mathematics%29 + Returns ------- Graph @@ -356,8 +358,6 @@ def waxman_graph(n, alpha=0.4, beta=0.1, L=None, domain=(0, 0, 1, 1), .. _taxicab metric: https://en.wikipedia.org/wiki/Taxicab_geometry .. _Euclidean metric: https://en.wikipedia.org/wiki/Euclidean_distance - .. _metric: https://en.wikipedia.org/wiki/Metric_%28mathematics%29 - References ---------- |