Download Python file and ensure Spyder is installed on your system.
Open the file within Spyder
Ensure that the following settings are enabled to ensure the interactive graphics appear on your device: Tools>Preferences>IPython Console>Graphics>Graphics Backend>Automatic
Run the code. A pop up box with the console should appear.
Adjust the sliders to the desired values as defined in the manuscript, click generate.