hnn_core.viz.plot_cells

hnn_core.viz.plot_cells(net, ax=None, show=True)[source]

Plot the cells using Network.pos_dict.

Parameters:
netinstance of Network

The Network object.

axinstance of matplotlib Axes3D | None

An axis object from matplotlib. If None, a new figure is created.

showbool

If True, show the figure.

Returns:
figinstance of matplotlib Figure

The matplotlib figure handle.