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
throws an error: AttributeError: module 'networkx' has no attribute 'from_numpy_matrix'. According to https://stackoverflow.com/a/75284568, it seems like this line is now no longer valid:
The given example:
throws an error:
AttributeError: module 'networkx' has no attribute 'from_numpy_matrix'
. According to https://stackoverflow.com/a/75284568, it seems like this line is now no longer valid:https://github.com/shobrook/communities/blob/master/communities/visualization/draw_communities.py#L188
Can you please update the library to use
G = nx.from_numpy_array(adj_matrix)
instead?The text was updated successfully, but these errors were encountered: