summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAric Hagberg <aric.hagberg@gmail.com>2016-01-30 10:25:44 -0700
committerAric Hagberg <aric.hagberg@gmail.com>2016-01-30 10:25:44 -0700
commit0b6f608d46601fb180a0f42eaa8a9a2ca9a42ecf (patch)
tree60c06706c1c687f8c3098705efb5ef79e183e983
parent83ee6e89f6abe08fa855096374281a432b3d5b7a (diff)
downloadnetworkx-0b6f608d46601fb180a0f42eaa8a9a2ca9a42ecf.tar.gz
adjust tutorial to mention import write_dotnetworkx-1.11help
-rw-r--r--doc/source/tutorial/tutorial.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/tutorial/tutorial.rst b/doc/source/tutorial/tutorial.rst
index f52e84f5..dcd195be 100644
--- a/doc/source/tutorial/tutorial.rst
+++ b/doc/source/tutorial/tutorial.rst
@@ -468,8 +468,8 @@ To save drawings to a file, use, for example
writes to the file "path.png" in the local directory. If Graphviz
and PyGraphviz, or pydotplus, are available on your system, you can also use
+>>> from networkx.drawing.nx_pydot import write_dot
>>> nx.draw_graphviz(G)
->>> nx.write_dot(G,'file.dot')
+>>> write_dot(G,'file.dot')
Details on drawing graphs: :doc:`/reference/drawing`
-