summaryrefslogtreecommitdiff
path: root/networkx/readwrite
diff options
context:
space:
mode:
authorRoss Barnowski <rossbar@berkeley.edu>2020-12-12 13:01:43 -0800
committerGitHub <noreply@github.com>2020-12-12 13:01:43 -0800
commit1462350ebb1467a46af4f7b774bb093ce15eb6c6 (patch)
tree126ec15cd3a58da324fee9b419e7e73c7e2df8e1 /networkx/readwrite
parent812f115e9b98bcefc8fdb8a3479e3cd32468ac5e (diff)
downloadnetworkx-1462350ebb1467a46af4f7b774bb093ce15eb6c6.tar.gz
DOC: Switch from napoleon to numpydoc sphinx extension (#4447)
* Setup for numpydoc. * Add to doc requirements. * Replace napoleon with numpydoc in conf.py. * DOC: Fixups from numpydoc.
Diffstat (limited to 'networkx/readwrite')
-rw-r--r--networkx/readwrite/json_graph/cytoscape.py4
-rw-r--r--networkx/readwrite/pajek.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/networkx/readwrite/json_graph/cytoscape.py b/networkx/readwrite/json_graph/cytoscape.py
index 8f3acfbb..977fd9d2 100644
--- a/networkx/readwrite/json_graph/cytoscape.py
+++ b/networkx/readwrite/json_graph/cytoscape.py
@@ -36,7 +36,7 @@ def cytoscape_data(G, attrs=None):
See Also
--------
- cytoscape_graph - convert a dictionary in cyjs format to a graph
+ cytoscape_graph: convert a dictionary in cyjs format to a graph
References
----------
@@ -144,7 +144,7 @@ def cytoscape_graph(data, attrs=None):
See Also
--------
- cytoscape_data - convert a NetworkX graph to a dict in cyjs format
+ cytoscape_data: convert a NetworkX graph to a dict in cyjs format
References
----------
diff --git a/networkx/readwrite/pajek.py b/networkx/readwrite/pajek.py
index 762ad642..25b1a852 100644
--- a/networkx/readwrite/pajek.py
+++ b/networkx/readwrite/pajek.py
@@ -176,7 +176,7 @@ def parse_pajek(lines):
See Also
--------
- read_pajek()
+ read_pajek
"""
import shlex