meghnathomas / wdsa-ccwi-workshop

2024 WDSA-CCWI WNTR, MAGNets, and VisWaterNet workshop materials
2 stars 1 forks source link

TypeError: draw_nodes() got an unexpected keyword argument (2 different arguments) #2

Closed mariocastrogama closed 3 months ago

mariocastrogama commented 3 months ago

Hello,

When running the tutorial of MAGNETS in Section 2.2. the skeletonization seems to be working properly. However, when running the following cell, the one of visualization I'm getting (iteratively) the following two errors.

TypeError: draw_nodes() got an unexpected keyword argument 'node_border_width' TypeError: draw_nodes() got an unexpected keyword argument 'node_border_color'

These are related to model.draw_nodes() where model is an object of viswaternet created using vis.VisWNModel(inp)

Best regards, Mario CG

mariocastrogama commented 3 months ago

Solution provided by @meghnathomas . It works now. https://github.com/meghnathomas/wdsa-ccwi-workshop/issues/1#issuecomment-2250251385