msmexplorer.plot_chord

msmexplorer.plot_chord(data, ax=None, cmap=None, labels=None, labelsize=12, norm=True, threshold=0.0)

Plot chord diagram from an adjacency matrix.

Parameters:
data : ndarray

An adjacency matrix

ax : matplotlib axis, optional (default: None)

Axis to plot on, otherwise uses current axis.

cmap : ColorMap, optional (default: None)

Optional argument to set the desired colormap

labels : list, optional (default: None)

A list of str labels

labelsize : int, optional (default: 12)

Label font size

norm : boolean, optional (default: True)

Optional argument to normalize data into the [0.0, 1.0] range

threshold : float, optional (default: 0.0)

Threshold value for an edge to be plotted

Returns:
ax : Axis

matplotlib figure axis