Parameters: |
- network (
Graph or subclass) – The graph/network to plot.
- nsize (float, array of float or string, optional (default: “total-degree”)) – Size of the nodes as a percentage of the canvas length. Otherwise, it
can be a string that correlates the size to a node attribute among
“in/out/total-degree”, or “betweenness”.
- ncolor (float, array of floats or string, optional (default: 0.5)) – Color of the nodes; if a float in [0, 1], position of the color in the
current palette, otherwise a string that correlates the color to a node
attribute among “in/out/total-degree”, “betweenness” or “group”.
- nshape (char or array of chars, optional (default: “o”)) – Shape of the nodes (see Matplotlib markers).
- nborder_color (char, float or array, optional (default: “k”)) – Color of the node’s border using predefined Matplotlib colors).
or floats in [0, 1] defining the position in the palette.
- nborder_width (float or array of floats, optional (default: 0.5)) – Width of the border in percent of canvas size.
- esize (float, str, or array of floats, optional (default: 0.5)) – Width of the edges in percent of canvas length. Available string values
are “betweenness” and “weight”.
- ecolor (char, float or array, optional (default: “k”)) – Edge color.
- max_esize (float, optional (default: 5.)) – If a custom property is entered as esize, this normalizes the edge
width between 0. and max_esize.
- decimate (int, optional (default: keep all connections)) – Plot only one connection every decimate.
- spatial (bool, optional (default: True)) – If True, use the neurons’ positions to draw them.
- size (tuple of ints, optional (default: (600,600))) – (width, height) tuple for the canvas size (in px).
- dpi (int, optional (default: 75)) – Resolution (dot per inch).
|