python-igraph 0.9.5
Fixed
-
plot(g, ..., mark_groups=True)
now works with the Matplotlib plotting backend. -
set_random_number_generator(None)
now correctly switches back to igraph's own random number generator instead of the default one that hooks into therandom
module of Python. -
Improved performance in cases when igraph has to call back to Python's
random
module to generate random numbers. One example isGraph.Degree_Sequence(method="vl")
, whose performance suffered a more than 30x slowdown on 32-bit platforms before, compared to the native C implementation. Now the gap is smaller. Note that if you need performance and do not care about seeding the random number generator from Python, you can now useset_random_number_generator(None)
to switch back to igraph's own RNG that does not need a roundtrip to Python.