dirconn.viz#

Figures of connectivity results.

matplotlib is an optional dependency (extra plot). It is imported when a figure is drawn, never when dirconn is imported. The plot code only reads the result: choosing a frequency, a band or a time point is the only selection it does, and it says which one it took: the connectivity grid names the slice on its colour bar (it has no title unless one is asked for), the other figures in the title.

plot() draws a Connectivity as one of PLOT_KINDS; the figure functions are in dirconn.viz.matrices, dirconn.viz.spectra and dirconn.viz.graphs. The figures that need more than a result (a grouping of the nodes, the cortical surface) are in dirconn.viz.brain. All of them are re-exported here.

Functions

plot(conn[, kind])

Draw conn as kind and return the matplotlib axes (see Connectivity.plot()).