Lecture 12
To-Do Date: Wed Jul 05 2023 06:15:00 GMT+0000 (Coordinated Universal Time)GUIs (graphical user interfaces) using matplotlib
Notebook: lecture12.ipynb Download lecture12.ipynb
Python: lecture12.py Download lecture12.py
Slides: lecture12_slides.pdf Download lecture12_slides.pdf
Note: In Spyder select Tools --> Preferences --> IPython Console --> Graphics --> Automatic as backend.
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