Slider
In this example, sliders are used to control the frequency and amplitude of a sine wave.
See Snap sliders to discrete values for an example of having
the Slider snap to discrete values.
See Image scaling using a RangeSlider for an example of using
a RangeSlider to define a range of values.
import matplotlib.pyplot as plt
import numpy as
