circuitree.viz.plot_network
- circuitree.viz.plot_network(names: Iterable[str], activations: ndarray[int64], inhibitions: ndarray[int64], cmap='tab10', node_shrink=0.9, node_lw=0.5, center=(0, 0), width=0.01, offset=0.4, auto_shrink=0.6, color='k', ec='k', lw=2, hw=0.15, padding=0.15, auto_padding: float | None = None, fontsize=None, text_kwargs=None, plot_labels=True, ax: Axis | None = None, colormap=None)
Plot an N-component network as a circular diagram.
Names, activations, and inhibitions could be returned by e.g. models.SimpleNetworkTree.parse_genotype.