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
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


0

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. whatsapp web whatsapp plus routerlogin

my issue got solved!!

Oops! Looks like spam! Waiting for moderator approval.
12-09-19, 12:56 a.m. terry131

Login to add comment
Oops! Looks like spam! Waiting for moderator approval


0

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.

my issue got solved!!

Oops! Looks like spam! Waiting for moderator approval.
13-09-19, 12:42 a.m. terry131

Login to add comment
Oops! Looks like spam! Waiting for moderator approval


Log-in to answer to this question.