Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #743 from ChrisOelmueller/patch-1

Add documentation for *labels* parameter to draw_networkx_labels
  • Loading branch information...
commit 7fe5c3b63735ba4a9d26936964a74bb9556271e4 2 parents b85047a + cb52d98
@hagberg hagberg authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 networkx/drawing/nx_pylab.py
View
7 networkx/drawing/nx_pylab.py
@@ -211,10 +211,10 @@ def draw_networkx(G, pos=None, with_labels=True, **kwds):
edge_vmin,edge_vmax : floats, optional (default=None)
Minimum and maximum for edge colormap scaling
- style : string, optional (deafult='solid')
+ style : string, optional (default='solid')
Edge line style (solid|dashed|dotted,dashdot)
- labels : dictionary, optional (deafult=None)
+ labels : dictionary, optional (default=None)
Node labels in a dictionary keyed by node of text labels
font_size : int, optional (default=12)
@@ -646,6 +646,9 @@ def draw_networkx_labels(G, pos,
If not specified a spring layout positioning will be computed.
See networkx.layout for functions that compute node positions.
+ labels : dictionary, optional (default=None)
+ Node labels in a dictionary keyed by node of text labels
+
font_size : int
Font size for text labels (default=12)
Please sign in to comment.
Something went wrong with that request. Please try again.