Schelling model simulation on networks using "networkx" package. Plot functions are included as well.
This is the source code of my medium blog post "Configurations urbaines et ségrégation sociale par le prisme de la modélisation" [Fr]: https://medium.com/anthropocene2050/sur-la-configuration-urbaine-et-la-s%C3%A9gr%C3%A9gation-60289fc81dbe.