I have the following code to generate a simple graph.
%matplotlib notebook from ipywidgets import * import numpy as np import matplotlib.pyplot as plt x = np.lin