Closed jboynyc closed 3 years ago
igraph
just uses Python's rng, so import random; random.seed(1234)
ought to be enough.
But leidenalg
requires the seed to be passed as an argument to find_partition
. Should a fixed seed be hard-coded?
Something like the rcParams system in matplotlib might be the best way to set this and other global parameters.
That's important for reproducibility.