Skip to content

Commit 91e82bb

Browse files
committed
add variability to test connectivity
1 parent ec6d616 commit 91e82bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mne/viz/tests/test_circle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def test_plot_connectivity_circle_label_orientation():
4949
# broken 0–90 range (nodes n0 at 0°, n1 at 40°, and n2 at 80°).
5050
n_nodes = 9
5151
con = np.ones((n_nodes, n_nodes))
52-
np.fill_diagonal(con, 0)
52+
con[::2, ::2] = 0 # add some zeros to avoid 0-div in normalization
5353
node_names = [f"n{i}" for i in range(n_nodes)]
5454

5555
fig, ax = _plot_connectivity_circle(con, node_names, show=False)

0 commit comments

Comments
 (0)