dynamo.pl.circosPlot¶
- dynamo.pl.circosPlot(network, node_label_key=None, circos_label_layout='rotate', node_color_key=None, show_colorbar=True, edge_lw_scale=0.5, edge_alpha_scale=0.5)[source]¶
wrapper for drawing circos plot via nxviz >= 0.7.3
- Parameters:
network (
Graph) – a network graph instancenode_label_key (
Optional[str] (default:None)) – node label (attribute) in network for grouping nodes, by default Nonecircos_label_layout (
str(default:'rotate')) – layout of circos plot (see nxviz docs for details), by default “rotate”node_color_key (
Optional[str] (default:None)) – node attribute in network, corresponding to color values of nodes, by default Noneshow_colorbar (
bool(default:True)) – whether to show colorbar, by default Trueedge_lw_scale (
float(default:0.5)) – the line width scale of edges drawn in plotedge_alpha_scale (
float(default:0.5)) – the alpha (opacity, transparency) scale of edges, the value should be in [0, 1.0]
- Return type:
- Returns:
the Matplotlib Axes on which the Circos plot is drawn.