You are on page 1of 5

ME F318 Computer Aided Design

Lab Session 4

BITS Pilani Dr. Amit R. Singh


Pilani Campus

1/5
Introduction to Matplotlib

1. Read the official quick start guide.


2. Do not skip the official quick start guide.

2/5 BITS Pilani, Pilani Campus


Introduction to IPyWidgets

1. Read the official simple introduction to widgets.


2. Read about using interact.

3/5 BITS Pilani, Pilani Campus


Matplotlib + IPyWidgets

• Study this Jupyter notebook containing a simple example of


using a slider widget with Matplotlib.
• Study another example Jupyter notebook.

4/5 BITS Pilani, Pilani Campus


Exercise

Create a Jupyter notebook with a GUI to plot a sinusoidal function


with sliders to control the period, and amplitude of the function.

5/5 BITS Pilani, Pilani Campus

You might also like