intrig-unicamp / mininet-wifi

Emulator for Software-Defined Wireless Networks
https://mn-wifi.readthedocs.io/
Other
438 stars 239 forks source link

Setting Circle Color not working? #311

Closed ckampi closed 4 years ago

ckampi commented 4 years ago

Hello, I'm trying to chanage the range color from the APs and the Stations following this guide https://mininet-wifi.github.io/part3/#setcirclecolor , but when I tryed the code this message showed up: AttributeError: 'Station' object has no attribute 'setCircleColor'.

I tryed again on the cli using sta1.setCircleColor('r') or py sta1.setCircleColor('r')

But none of them work. How can I use properly this command?

ramonfontes commented 4 years ago

Please try set_circle_color() instead.

ckampi commented 4 years ago

Excellent, now it works, thank you for beign so fast Ramon.