Visualization module

Functions to visualize a network built in NEST.

nest.visualization.plot_network(nodes, filename, ext_conns=False, plot_modelnames=False)

Plot the given nodes and the connections that originate from them.

This function depends on the availability of the pydot module.

Simplified version for NEST 3.

  • nodes (NodeCollection) – NodeCollection containing node IDs of nodes to plot

  • filename (str) – Filename to save the plot to. Can end either in .pdf or .png to determine the type of the output.

  • ext_conns (bool, optional) – Draw connections to targets that are not in nodes. If it is True, these are drawn to a node named ‘ext’.

  • plot_modelnames (bool, optional) – Description