This is a small Python script/Jupyter notebook to demonstrate site percolation.
First, clone this repository
git clone https://github.com/explorablesforsfi/percolation-py.git
Then change to the created directory and, if necessary, use pip
to install the necessary dependencies
cd percolation-py
pip install -r requirements.txt
Run the code
python percolation.py