Importing the necessary components

Loading "nbagg" is necessary to make the plot interactively.


In [1]:
import matplotlib as mpl
mpl.use('nbagg')
from interactive_fit import plot_fit

Plotting the fit interactively


In [2]:
plot_fit()