draw_ellipses#
- SplitGraph.draw_ellipses(ax=None, inner_node_color_neg='k', boundary_node_color_neg='r', inner_node_color_pos='k', boundary_node_color_pos='g', edge_color=(0, 0, 0, 0.03), node_size=10)#
Visualise a bipartition by plotting the nodes arranged in four ellipses.
Draws two ellipses for each side of the bipartition: one that contains all nodes that have connections only to nodes on the same side, and one that contains nodes with connections to the other side.
Parameters#
- inner_node_color_neg, boundary_node_color_neg
Colors for the negative side.
- inner_node_color_pos, boundary_node_color_pos
Colors for the positive side.
- edge_color
Edge color.
- node_size
Node size.