notebook.community
Edit and run
Loading "nbagg" is necessary to make the plot interactively.
In [1]: import matplotlib as mpl mpl.use('nbagg') from interactive_fit import plot_fit
import matplotlib as mpl mpl.use('nbagg') from interactive_fit import plot_fit
In [2]: plot_fit()
plot_fit()