draw_side_and_boundary#

SplitGraph.draw_side_and_boundary(pos_side: bool, ax=None, node_positions=None, inner_node_color='k', boundary_node_color='r', inner_node_size=10, boundary_node_size=10, edge_color=(0, 0, 0, 0.05))#

Draw one side of the bipartition.

Parameters#

pos_side

If True draw the positive side, and otherwise the negative.

ax

A matplotlib axes object.

node_positions

Positions for the nodes. If None, the default NetworkX layout is used.

inner_node_color, boundary_node_color

Colors of the inner nodes and boundary nodes.

inner_node_size, boundary_node_size

Sizes of the inner nodes and boundary nodes.

edge_color

The edge color.