You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function _plot_connectivity_circle shows links between nodes when the score between nodes is zero. One can observe this behavior when facecolor is set to a color different than black.
I expect a figure that shows a link between a pair of nodes only when the score is large than zero. That's what one can observe when the function is used with the default values. The following is the figure I would expect:
Actual results
I get the following figure:
Additional information
It could be argued that this is not a bug. However, one can not observe links with zero scores when facecolor is set to black (default values).
Replacing
...
# Finally, we draw the connectionsforpos, (i, j) inenumerate(zip(indices[0], indices[1])):
t0, r0=node_angles[i], 10
by
# Finally, we draw the connectionsforpos, (i, j) inenumerate(zip(indices[0], indices[1])):
ifcon_val_scaled[pos] ==0:
continue# Start pointt0, r0=node_angles[i], 10
seems to solve the problem. I'll happily make a pull request if the main developers think it is useful.
The text was updated successfully, but these errors were encountered:
Description of the problem
The function
_plot_connectivity_circle
shows links between nodes when the score between nodes is zero. One can observe this behavior when facecolor is set to a color different than black.Steps to reproduce
Expected results
I expect a figure that shows a link between a pair of nodes only when the score is large than zero. That's what one can observe when the function is used with the default values. The following is the figure I would expect:
Actual results
I get the following figure:
Additional information
It could be argued that this is not a bug. However, one can not observe links with zero scores when facecolor is set to black (default values).
Replacing
by
seems to solve the problem. I'll happily make a pull request if the main developers think it is useful.
The text was updated successfully, but these errors were encountered: