Skip to content
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

nxpd to_pydot doesn't work with networkx 2.4 #14

Open
mtreinish opened this issue Oct 17, 2019 · 0 comments · May be fixed by #15
Open

nxpd to_pydot doesn't work with networkx 2.4 #14

mtreinish opened this issue Oct 17, 2019 · 0 comments · May be fixed by #15

Comments

@mtreinish
Copy link

The to_pydot method was using a deprecated function: https://github.com/chebee7i/nxpd/blob/master/nxpd/nx_pydot.py#L249 which has been removed in the latest release 2.4.0: https://networkx.github.io/documentation/stable/release/release_2.4.html#deprecations

mtreinish added a commit to mtreinish/nxpd that referenced this issue Oct 17, 2019
The number_of_selfloops() graph method was deprecated in the networkx
2.0 release[1] which was released in 2017 and replaced with a
function that provides the same functionality. In the recent 2.4 release
this deprecated method has been removed. This commit updates the use of
number_of_selfloops to use that function instead of the deprecated and
now removed method. It also increases the minimum version supported by
the library to use 2.0 which was the version this function was
introduced.

Fixes chebee7i#14

[1] https://networkx.github.io/documentation/stable/release/release_2.0.html#api-changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant