Lecture 12 (VL)
We learn how to make GUIs using matplotlib with widgets and events.
Notebook: lecture12.ipynb Download lecture12.ipynb
Slides: lecture12.pdf Download lecture12.pdf
Python: lecture12.py Download lecture12.py
The sample code shown during the lecture can be downloaded:
- One slider: example1.py Download example1.py
- A button and a slider: example2.py Download example2.py
- Two sliders in a list: example3.py Download example3.py
- Click to make points and a spline: example4.py Download example4.py
Some other years, some students asked about making animated gifs, so here is an example: animationToGif.py Download animationToGif.py