Skip to content

Adjust to Networkx 2.5#45

Open
soniaradon wants to merge 1 commit intoKrzyHonk:masterfrom
soniaradon:master
Open

Adjust to Networkx 2.5#45
soniaradon wants to merge 1 commit intoKrzyHonk:masterfrom
soniaradon:master

Conversation

@soniaradon
Copy link

In Networkx 2.4 node was changed to nodes. Here is a fix for that.

grid_cell.row += consts.Consts.width leads to IndexError beacause of consts.Consts.width which is a string. I guess that it should be consts.Consts.grid_column_width which equals to 2.

https://networkx.org/documentation/stable/release/release_2.4.html#deprecations

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 this pull request may close these issues.

1 participant