@@ -143,15 +143,14 @@ def draw(G, pos=None, **kwargs):
143
143
node_size : scalar or array, optional (default=300)
144
144
Size of nodes. If an array is specified it must be the
145
145
same length as nodelist.
146
- node_color : color string, or array of floats, (default='r')
147
- Node color. Can be a single color format string,
148
- or a sequence of colors with the same length as nodelist.
149
- If numeric values are specified they will be mapped to
150
- colors using the cmap and vmin,vmax parameters. See
151
- matplotlib.scatter for more details .
146
+ node_color : color string, node attribute, or array of floats, (default='r')
147
+ Can be a single color, the name of an attribute on the nodes or
148
+ sequence of colors with the same length as nodelist. If the
149
+ node_color references an attribute on the nodes or is a list of
150
+ values they will be colormapped using the cmap and vmin, vmax
151
+ parameters .
152
152
node_shape : string, optional (default='o')
153
- The shape of the node. Specification is as matplotlib.scatter
154
- marker, one of 'so^>v<dph8'.
153
+ The shape of the node. Specification is as valid bokeh marker.
155
154
alpha : float, optional (default=1.0)
156
155
The node and edge transparency
157
156
cmap : Colormap, optional (default=None)
@@ -163,10 +162,11 @@ def draw(G, pos=None, **kwargs):
163
162
edge_width : float, optional (default=1.0)
164
163
Line width of edges
165
164
edge_color : color string, or array of floats (default='r')
166
- Edge color. Can be a single color format string,
167
- or a sequence of colors with the same length as edgelist.
168
- If numeric values are specified they will be mapped to
169
- colors using the edge_cmap and edge_vmin,edge_vmax parameters.
165
+ Can be a single color, the name of an attribute on the edges or
166
+ sequence of colors with the same length as the edges. If the
167
+ edge_color references an attribute on the edges or is a list of
168
+ values they will be colormapped using the edge_cmap and
169
+ edge_vmin, edge_vmax parameters.
170
170
edge_cmap : Matplotlib colormap, optional (default=None)
171
171
Colormap for mapping intensities of edges
172
172
edge_vmin,edge_vmax : floats, optional (default=None)
0 commit comments