0
Animated social contagion graph

I have to simulate a social contagion on a small network (more specifically I need to implement a networked coordination game), and it would be really nice if I could create an animation: the starting frame should be the network with the first "infected" nodes, then it starts to show which other nodes are infected (step by step). I know that is possible to create animation with matplotlib but I'm not sure how they work (I always used that library to create simple images). Last piece of information: I'm using networkx to create (work on) the network.


Python 19-08-19, 9:24 p.m. terry131

Answers:

0

Hello terry131,

This questions seems to have been resolved here: https://stackoverflow.com/questions/43646550/how-to-use-an-update-function-to-animate-a-networkx-graph-in-matplotlib-2-0-0?rq=1

Kindly have a look.

20-08-19, 11:23 a.m. ankitrj.iitb

Thanks for all the links provided, it is most helpful!


03-09-19, 8:13 a.m. nicoleball

Login to add comment


Log-in to answer to this question.