summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Newman <47572615+kevinanewman@users.noreply.github.com>2019-07-10 18:50:12 -0400
committerDan Schult <dschult@colgate.edu>2019-07-10 15:50:12 -0700
commit69744d003815620c0b6a61023190b1c1170dbdfe (patch)
tree7593bb85df1f20b3b21e321e620a550a756d45ba
parent9835f96401935ea252c11fba2834db3a4f321f22 (diff)
downloadnetworkx-69744d003815620c0b6a61023190b1c1170dbdfe.tar.gz
Update introduction.rst (#3504)
Example uses nodecolor='r', should be node_color='r'
-rw-r--r--doc/reference/introduction.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/reference/introduction.rst b/doc/reference/introduction.rst
index 64182195..c174b223 100644
--- a/doc/reference/introduction.rst
+++ b/doc/reference/introduction.rst
@@ -281,7 +281,7 @@ computed with a layout function. The edges are lines between those dots.
>>> nx.draw(G) # default spring_layout
>>> plt.subplot(122)
<matplotlib.axes._subplots.AxesSubplot object at ...>
- >>> nx.draw(G, pos=nx.circular_layout(G), nodecolor='r', edge_color='b')
+ >>> nx.draw(G, pos=nx.circular_layout(G), node_color='r', edge_color='b')
See the :doc:`examples </auto_examples/index>` for more ideas.