Line plots can be created in Python with Matplotlib's pyplot library. To build a line plot, first import Matplotlib. It is a standard convention to import Matplotlib's pyplot library as plt. The plt ...
%matplotlib inline import matplotlib.pyplot as plt import numpy as np from IPython.html.widgets import interact def plot_sine(frequency=1.0, amplitude=1.0): plt.ylim ...