-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
networkx.MultiDiGraph.remove_edges_from
has inconsistent documentation (v2.6.2)
#5158
Comments
This behavior was changed in in A workaround way to remove all edges from a MultiDiGraph between nodes DiGraph.remove_edge(self, u, v) The longer term fix is to
super(MultiGraph, self).remove_edge(u, v) So, we need a PR for 1) and a separate PR for 3). Maybe we can decide 2) in the discussion here. |
I've added the milestone for the documentation component (i.e. point 1) above) which is clearly incorrect and should be fixed before the next release. The other points may require separate discussion --- in fact, it may make sense to break out @dschult 's comment into a separate issue or discussion topic, but we can cross that bridge when we come to it! |
To address 2) above: The current behavior for this idiom is to remove a single arbitrary edge between u and v. This makes |
In this doc page the parameters list reads that if the elements of
ebunch
areHowever, both in the second example below and in my tests, it seems that only one edge between u and v is removed. The functionality described in the parameters list would be useful to have.
The text was updated successfully, but these errors were encountered: